summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/include/kernel/pic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/include/kernel/pic.h b/arch/i386/include/kernel/pic.h
index 779237e..af7b5ba 100644
--- a/arch/i386/include/kernel/pic.h
+++ b/arch/i386/include/kernel/pic.h
@@ -45,6 +45,8 @@ void pic_remap(void);
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_set_mask(uint8_t irq);
void irq_clear_mask(uint8_t irq);