diff options
author | Marvin Borner | 2020-04-17 00:39:10 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-17 00:39:10 +0200 |
commit | 203c6950ab45e89ababa594d5b359118e17bfd02 (patch) | |
tree | b9caeb2f1c7ada9b728191cf3680873472f5cef6 /src/kernel/fs/load.c | |
parent | 9ff8deafdff307cbec1ef431c65009ffb8119859 (diff) |
Started implementing multiboot2 standard
Diffstat (limited to 'src/kernel/fs/load.c')
-rw-r--r-- | src/kernel/fs/load.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/kernel/fs/load.c b/src/kernel/fs/load.c index 0206401..ed8e042 100644 --- a/src/kernel/fs/load.c +++ b/src/kernel/fs/load.c @@ -9,10 +9,9 @@ void load_binaries() userspace = (uint32_t)kmalloc(10000); font = (struct font *)kmalloc(100000); // High quality shit - if (multiboot_header->boot_device != 0xE0FFFFFF) { + /*if (multiboot_header->boot_device != 0xE0FFFFFF) { panic("Unsupported boot drive!"); } else { - /* char *font_p[] = { "FONT.BIN" }; struct iso9660_entity *font_e = ISO9660_get(font_p, 1); if (!font_e) @@ -28,10 +27,9 @@ void load_binaries() kfree(user_e); if (font->magic != 0xf0f0f0f0) { - log("0x%x: WRONG FONT MAGIC!", font->magic); + warn("0x%x: WRONG FONT MAGIC!", font->magic); halt_loop(); } - */ - } + }*/ vga_log("Successfully loaded binaries"); -}
\ No newline at end of file +} |