aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86_64/isr_handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86_64/isr_handler.cpp')
-rw-r--r--kernel/arch/x86_64/isr_handler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/arch/x86_64/isr_handler.cpp b/kernel/arch/x86_64/isr_handler.cpp
new file mode 100644
index 0000000..caae24d
--- /dev/null
+++ b/kernel/arch/x86_64/isr_handler.cpp
@@ -0,0 +1,6 @@
+#include <stdint.h>
+#include <stdio.h>
+
+extern "C" void exception_handler(int e) {
+ printf("Exception: %x", e);
+} \ No newline at end of file