aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/load.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-15 00:33:39 +0200
committerMarvin Borner2020-04-15 00:33:39 +0200
commit10cd931d75a02942c5ad254cef2e56b515122fa3 (patch)
treebe8c4476f43f686fa669bcd2506e418385843d53 /src/kernel/fs/load.c
parentb11a2a876e7bd14078d26e12eab62db997a4dc76 (diff)
Removed filesystem
SOON: Correct ext2 attempt
Diffstat (limited to 'src/kernel/fs/load.c')
-rw-r--r--src/kernel/fs/load.c6
1 files changed, 1 insertions, 5 deletions
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 <kernel/fs/load.h>
-#include <kernel/fs/marfs/marfs.h>
#include <kernel/fs/ata_pio.h>
#include <kernel/fs/atapi_pio.h>
#include <kernel/system.h>
@@ -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);