diff options
author | dzwdz | 2021-06-25 12:30:07 +0200 |
---|---|---|
committer | dzwdz | 2021-06-25 12:30:07 +0200 |
commit | 174cf436480efe690f72d64c9ecd16b7af4d1f0e (patch) | |
tree | e8a6634a566492f3e511a2dd8c68870a665ba7a1 /kernel/main.c | |
parent | fde20f86f5be5a39fd3eadf95ba71761d173e0ce (diff) |
setting up the GDT
Diffstat (limited to 'kernel/main.c')
-rw-r--r-- | kernel/main.c | 5 |
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(); } |