aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/isr.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/isr.h')
-rw-r--r--kernel/include/isr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/include/isr.h b/kernel/include/isr.h
index d3543af..5d6d282 100644
--- a/kernel/include/isr.h
+++ b/kernel/include/isr.h
@@ -44,3 +44,5 @@ struct regs_t {
uint32_t int_no, err_code; /* our 'push byte #' and ecodes do this */
uint32_t eip, cs, eflags, useresp, ss; /* pushed by the processor automatically */
};
+
+void set_interrupt_handler(uint8_t interrupt, void (*func)(struct regs_t));