From 174cf436480efe690f72d64c9ecd16b7af4d1f0e Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 25 Jun 2021 12:30:07 +0200 Subject: setting up the GDT --- kernel/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kernel/main.c') 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 #include void kmain() { - for (int i = 0; i < 400; i++) - tty_write("words ", 6); + tty_clear(); + gdt_init(); } -- cgit v1.2.3