diff --git a/kaleid/kernel/cpu/idt.c b/kaleid/kernel/cpu/idt.c index 4f3ca1e..37a7548 100644 --- a/kaleid/kernel/cpu/idt.c +++ b/kaleid/kernel/cpu/idt.c @@ -155,8 +155,8 @@ static void EnablePIC(void) IoWriteByteOnPort(0xa0, 0x11); // Set ICW2 (IRQ base offsets) - IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt - IoWriteByteOnPort(0xa1, 0x28); + IoWriteByteOnPort(0x21, 0x20); //0x20 is the first free interrupt for IRQ0 + IoWriteByteOnPort(0xa1, 0x28); // PIC2 is offseted to 0x28 // Set ICW3 IoWriteByteOnPort(0x21, 0x4);