From 203c6950ab45e89ababa594d5b359118e17bfd02 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 17 Apr 2020 00:39:10 +0200 Subject: Started implementing multiboot2 standard --- src/kernel/fs/load.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/kernel/fs/load.c') 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 +} -- cgit v1.2.3