From 10cd931d75a02942c5ad254cef2e56b515122fa3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Apr 2020 00:33:39 +0200 Subject: Removed filesystem SOON: Correct ext2 attempt --- src/kernel/fs/load.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/kernel/fs/load.c') diff --git a/src/kernel/fs/load.c b/src/kernel/fs/load.c index 49d31e1..edfa2cc 100644 --- a/src/kernel/fs/load.c +++ b/src/kernel/fs/load.c @@ -1,5 +1,4 @@ #include -#include #include #include #include @@ -14,10 +13,7 @@ void load_binaries() font = (struct font *)kmalloc(100000); // High quality shit if (multiboot_header->boot_device != 0xE0FFFFFF) { - struct ata_interface *primary_master = new_ata(1, 0x1F0); - marfs_init(primary_master); - marfs_read_whole_file(4, (uint8_t *)userspace); - marfs_read_whole_file(5, (uint8_t *)font); + panic("Unsupported boot drive!"); } else { char *font_p[] = { "FONT.BIN" }; struct iso9660_entity *font_e = ISO9660_get(font_p, 1); -- cgit v1.2.3