STI crashes the OS
Posted: Sat Jan 31, 2004 10:49 am
Hi!
I have a problem with my OS, HeliX (www.Helixos.de.vu). After I inizialisized the IDT, and I want to usw IRQs I have to do a STI, but then a General Protection Exeption appears. Perhaps you can download my OS and check whats up...
Im using the John S. fine Bootloader and the kmain of my OS looks like that:
mov_cursor(80,25);
init_pics(0x20, 0x28);
enable_irqs(0xFF,0xFF);
create_idt();
loadIDTR();
enable_irqs(0x0,0x0);
cls();
//STI() ARGHHHHH
while(1) {}
please help me, I need IRQs!!!!
::)
I have a problem with my OS, HeliX (www.Helixos.de.vu). After I inizialisized the IDT, and I want to usw IRQs I have to do a STI, but then a General Protection Exeption appears. Perhaps you can download my OS and check whats up...

mov_cursor(80,25);
init_pics(0x20, 0x28);
enable_irqs(0xFF,0xFF);
create_idt();
loadIDTR();
enable_irqs(0x0,0x0);
cls();
//STI() ARGHHHHH
while(1) {}
please help me, I need IRQs!!!!
::)