summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/interrupts/isr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/interrupts/isr.h')
-rw-r--r--src/kernel/arch/amd64/interrupts/isr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/interrupts/isr.h b/src/kernel/arch/amd64/interrupts/isr.h
new file mode 100644
index 0000000..01f5236
--- /dev/null
+++ b/src/kernel/arch/amd64/interrupts/isr.h
@@ -0,0 +1,8 @@
+#pragma once
+#include <stdbool.h>
+#include <stdint.h>
+
+extern bool isr_test_interrupt_called; // used in the self-test in idt.c
+extern const char _isr_stubs;
+
+void isr_stage3(int interrupt, uint64_t *stackframe);