diff --git a/src/interrupt/idt.c b/src/interrupt/idt.c index f0bed2e..fbf39d4 100644 --- a/src/interrupt/idt.c +++ b/src/interrupt/idt.c @@ -4,6 +4,8 @@ #include "apic.h" #include "gdt.h" #include "idt.h" +#include "interrupts.h" +#include "sys/io.h" #include "kprintf.h" #define PIC1 0x20 /* IO base address for master PIC */ @@ -44,5 +46,5 @@ void init_idt(void) for (uint8_t j = 0; j < 16; j++) idt_set_descriptor(i + j, irq_stub_table[j], 0x8E); load_idt(&idtr); - __asm__ volatile("sti"); + // toris(); }