summaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/pic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/kernel/pic.c b/arch/i386/kernel/pic.c
index 69a0785..9494b92 100644
--- a/arch/i386/kernel/pic.c
+++ b/arch/i386/kernel/pic.c
@@ -1,6 +1,8 @@
#include <kernel/pic.h>
-void pic_eoi(unsigned char irq) {
+void (*irq_handlers[16])(struct isr_frame *frame);
+
+void pic_eoi(uint8_t irq) {
if (irq >= 8)
outb(PIC2_COMMAND, 0x20);
outb(PIC1_COMMAND, 0x20);