diff options
Diffstat (limited to 'src/interrupts')
-rw-r--r-- | src/interrupts/idt.c | 2 | ||||
-rw-r--r-- | src/interrupts/irq.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/interrupts/idt.c b/src/interrupts/idt.c index 641de3a..c75d378 100644 --- a/src/interrupts/idt.c +++ b/src/interrupts/idt.c @@ -17,7 +17,7 @@ struct idt_ptr { struct idt_entry idt[256]; struct idt_ptr idtp; -// Defined in boot.asm +// Defined in idt.asm extern void idt_load(); void idt_set_gate(unsigned char num, unsigned long base, unsigned short sel, unsigned char flags) { diff --git a/src/interrupts/irq.c b/src/interrupts/irq.c index 686d543..9b8d89f 100644 --- a/src/interrupts/irq.c +++ b/src/interrupts/irq.c @@ -1,5 +1,6 @@ #include "../io/io.h" #include "interrupts.h" +#include "../graphics/vga.h" extern void irq0(); |