diff options
author | Marvin Borner | 2020-04-14 23:42:03 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-14 23:42:03 +0200 |
commit | b11a2a876e7bd14078d26e12eab62db997a4dc76 (patch) | |
tree | f2ba2781d3d059810e3a0ccb04f637444c448e5e /src/kernel/system.h | |
parent | 4391a5a374b7b75ca8fa69d35dcb5c5f9ad7f765 (diff) |
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).
Diffstat (limited to 'src/kernel/system.h')
-rw-r--r-- | src/kernel/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdint.h> #include <stddef.h> +#include <kernel/multiboot.h> /** * The kernel end @@ -15,6 +16,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 */ void init(); |