From f8e47b6b0c0578c52d82c0e243620361b87a4abe Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 29 Apr 2021 14:36:40 +0200 Subject: Multiboot/Grub progress --- kernel/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kernel/main.c') diff --git a/kernel/main.c b/kernel/main.c index e0e544b..37dd2da 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -26,11 +27,11 @@ int kernel_main(u32 magic, u32 addr) // Serial connection serial_install(); serial_print("\nKernel was compiled at " __TIME__ " on " __DATE__ "\n"); - serial_print("Serial connected. LOOPING!\n"); + serial_print("Serial connected!\n"); + + gdt_install(); multiboot_init(magic, addr); - while (1) - ; memory_install(); memory_switch_dir(virtual_kernel_dir()); -- cgit v1.2.3