summaryrefslogtreecommitdiff
path: root/kernel/isr.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/isr.h')
-rw-r--r--kernel/isr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/isr.h b/kernel/isr.h
index 7230986..624e9ad 100644
--- a/kernel/isr.h
+++ b/kernel/isr.h
@@ -1,6 +1,12 @@
#pragma once
+#include <stdbool.h>
struct interrupt_frame;
+extern bool isr_test_interrupt_called; // used in the self-test in idt.c
+
__attribute__((interrupt))
void isr_double_fault(struct interrupt_frame *frame);
+
+__attribute__((interrupt))
+void isr_test_interrupt(struct interrupt_frame *frame);