aboutsummaryrefslogtreecommitdiff
path: root/src/utils/pic.h
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-10 17:24:13 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-10 17:24:13 +0200
commit242fe4a5752bf66ae4c00438f5e9ce66b0774c38 (patch)
treed27d2e1fda93643eaaf249e05a6f3a35e07a67f0 /src/utils/pic.h
parentc6aa00eea71c91a219dae8688530ff0a3b83bcd4 (diff)
Enable tasks execution and syscalls
Diffstat (limited to 'src/utils/pic.h')
-rw-r--r--src/utils/pic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/pic.h b/src/utils/pic.h
index 2734437..5ee1ab2 100644
--- a/src/utils/pic.h
+++ b/src/utils/pic.h
@@ -3,7 +3,8 @@
#include "types.h"
-#define IDT_TYPE_1 0x8E00
+#define IDT_INT_GATE 0x8E00
+#define IDT_TRAP_GATE 0xEF00
typedef struct IDT_ENTRY {
u16 segment;