summaryrefslogtreecommitdiff
path: root/kernel/exceptions.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-11 09:05:25 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-11 09:05:25 +0000
commit19a91071908c49365290fb1a49a5da8e354989e2 (patch)
tree59667272fc339fec1095d9ce8ad383be13bd0b78 /kernel/exceptions.h
parent922e6ca1bc48cf62ad599ef1a2d63bf338a0e8c3 (diff)
added rule to compile .S files; page fault ISR and skeleton handler are present
Diffstat (limited to 'kernel/exceptions.h')
-rw-r--r--kernel/exceptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/exceptions.h b/kernel/exceptions.h
new file mode 100644
index 0000000..5d22284
--- /dev/null
+++ b/kernel/exceptions.h
@@ -0,0 +1,7 @@
+#pragma once
+
+extern void page_fault_isr(void);
+
+#define PAGE_FAULT_VECTOR 0xe
+
+void exceptions_init(void);