diff options
Diffstat (limited to 'arch/i386/include')
-rw-r--r-- | arch/i386/include/kernel/pic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h index af7b5ba..ca3cc99 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/isr.h> #include <kernel/idt.h> #include <stdint.h> @@ -46,6 +47,7 @@ uint16_t pic_get_irr(void); uint16_t pic_get_isr(void); void register_irq_handler(uint8_t irq, void (*handler)(struct isr_frame *frame)); +void irq_dispatch(struct isr_frame *frame); void irq_set_mask(uint8_t irq); void irq_clear_mask(uint8_t irq); |