diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/include/kernel/pic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h index c15c02f..779237e 100644 --- a/arch/i386/include/kernel/pic.h +++ b/arch/i386/include/kernel/pic.h @@ -1,6 +1,7 @@ #ifndef I386_PIC_H #define I386_PIC_H +#include <kernel/idt.h> #include <stdint.h> #define PIC1 0x20 @@ -39,7 +40,7 @@ static inline void io_wait(void) { outb(0x80, 0); } -void pic_eoi(unsigned char irq); +void pic_eoi(uint8_t irq); void pic_remap(void); uint16_t pic_get_irr(void); uint16_t pic_get_isr(void); |