summaryrefslogtreecommitdiff
path: root/kernel/cpu/idt.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu/idt.h')
-rw-r--r--kernel/cpu/idt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/cpu/idt.h b/kernel/cpu/idt.h
index 9cb6e4d..d866659 100644
--- a/kernel/cpu/idt.h
+++ b/kernel/cpu/idt.h
@@ -322,5 +322,8 @@ typedef struct reg {
void idt_init(void);
__attribute__((no_caller_saved_registers)) void EOI(unsigned char irq);
-void install_handler(void (*handler_function)(), u16 type_attribute, u8 entry);
+
+typedef void (*interrupt_handler)(reg_t *);
+void install_handler(interrupt_handler handler_function, u16 type_attribute,
+ u8 entry);
#endif