diff options
Diffstat (limited to 'include/kernel')
-rw-r--r-- | include/kernel/interrupt.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/kernel/interrupt.h b/include/kernel/interrupt.h new file mode 100644 index 0000000..b707fe7 --- /dev/null +++ b/include/kernel/interrupt.h @@ -0,0 +1,13 @@ +#ifndef KERNEL_INTERRUPT_H +#define KERNEL_INTERRUPT_H + +#include <kernel/asm.h> +#include <stdint.h> +#include <stddef.h> + +void register_isr_handler(unsigned int isr, void (*handler)(struct isr_frame *frame)); +void clear_isr_handler(unsigned int isr); + +void isr_dispatch(struct isr_frame frame); + +#endif |