summaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
authordzwdz2021-06-25 12:30:07 +0200
committerdzwdz2021-06-25 12:30:07 +0200
commit174cf436480efe690f72d64c9ecd16b7af4d1f0e (patch)
treee8a6634a566492f3e511a2dd8c68870a665ba7a1 /kernel/main.c
parentfde20f86f5be5a39fd3eadf95ba71761d173e0ce (diff)
setting up the GDT
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/main.c b/kernel/main.c
index 73c66e2..d2f0693 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -1,7 +1,8 @@
+#include <kernel/gdt.h>
#include <kernel/tty.h>
void kmain()
{
- for (int i = 0; i < 400; i++)
- tty_write("words ", 6);
+ tty_clear();
+ gdt_init();
}