summaryrefslogtreecommitdiff
path: root/kc/core/exceptions.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-01-17 12:22:30 +0000
committerAda Christine <adachristine18@gmail.com>2022-01-17 12:22:30 +0000
commit2f2e5b43d2985abd504ecd5672ce783bef904f2f (patch)
tree3c24efcea6b0ce6dda0ee720b3afe250247f2dfb /kc/core/exceptions.h
parentdc7152c1cc6412871e1120ed53fb94ed386613cc (diff)
preparing for multitasking
Diffstat (limited to 'kc/core/exceptions.h')
-rw-r--r--kc/core/exceptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kc/core/exceptions.h b/kc/core/exceptions.h
index 5d22284..11696d5 100644
--- a/kc/core/exceptions.h
+++ b/kc/core/exceptions.h
@@ -1,7 +1,10 @@
#pragma once
extern void page_fault_isr(void);
+extern void general_protection_isr(void);
+#define GENERAL_PROTECTION_VECTOR 0xd
#define PAGE_FAULT_VECTOR 0xe
void exceptions_init(void);
+