summaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authordzwdz2021-07-09 16:13:38 +0200
committerdzwdz2021-07-09 16:13:38 +0200
commit79dbeb367cc7b39e965c052ebb62076a2118c54c (patch)
tree23651a0ea6abbe9d9cbc4968a35e0ab317911185 /kernel/main.c
parent9b851331995c84f9548eba05e51b47656cb83deb (diff)
basic interrupt support
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 5c2c5e8..bc1e0d3 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -1,4 +1,5 @@
#include <kernel/gdt.h>
+#include <kernel/idt.h>
#include <kernel/mem.h>
#include <kernel/proc.h>
#include <kernel/tty.h>
@@ -10,6 +11,7 @@ void kmain()
{
tty_clear();
gdt_init();
+ idt_init();
sysenter_setup();
mem_init();