diff --git a/src/interrupt/idt.c b/src/interrupt/idt.c index effa040..a5aac00 100644 --- a/src/interrupt/idt.c +++ b/src/interrupt/idt.c @@ -38,7 +38,8 @@ void init_idt(void) idt_set_descriptor(i, isr_stub_table[i], 0x8E); __asm__ volatile("lidt %0" : : "m"(idtr)); __asm__ volatile("sti"); - pic_remap(32, 32); + // https://wiki.osdev.org/8259_PIC#Programming_with_the_8259_PIC + pic_remap(0x20, 0x28); pic_disable(); enable_apic(); }