From b11a2a876e7bd14078d26e12eab62db997a4dc76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 14 Apr 2020 23:42:03 +0200 Subject: Switched to grub This really isn't what I wanted because grub is very big and bloaty but my own bootloader was very poorly written and I really want to implement a filesystem like ext2 which wouldn't work with my own bootloader. Furthermore this commit fixes many small issues including the one occurring due to the statically linked user binary (I just removed the linking for now). --- src/kernel/system.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel/system.h') diff --git a/src/kernel/system.h b/src/kernel/system.h index 687649f..90535f6 100644 --- a/src/kernel/system.h +++ b/src/kernel/system.h @@ -3,6 +3,7 @@ #include #include +#include /** * The kernel end @@ -14,6 +15,11 @@ extern void ASM_KERNEL_END(); */ uint32_t initial_esp; +/** + * Multiboot structure pointer by grub + */ +multiboot_info_t *multiboot_header; + /** * Initialize the basic features of the OS */ -- cgit v1.2.3