aboutsummaryrefslogtreecommitdiff
path: root/src/core/idt.hpp
diff options
context:
space:
mode:
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)