aboutsummaryrefslogtreecommitdiff
path: root/src/core/idt.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-05-02 14:46:18 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-05-02 14:46:18 +0200
commite59104ffb55abe522c82d658f1f285149cca2cb1 (patch)
treeeb3cc1e46d0dd5b684864903b95ae32e245010da /src/core/idt.hpp
parent4f08ba2b1d0ad7ea90d4d97a483b56b891b9c902 (diff)
Debug GDT enable multitasking
Diffstat (limited to 'src/core/idt.hpp')
-rw-r--r--src/core/idt.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/idt.hpp b/src/core/idt.hpp
index 1133ad1..67b52d9 100644
--- a/src/core/idt.hpp
+++ b/src/core/idt.hpp
@@ -9,6 +9,7 @@
#define IDT_OPT_P (1 << 15)
#define IDT_OPT_TYPE_INT 0xE << 8
+#define IDT_OPT_TYPE_TRAP 0xF << 8
#define IDT_OPT_PRVL_0 0
#define IDT_OPT_PRVL_1 (1 << 13)
#define IDT_OPT_PRVL_2 (2 << 13)