From 71a111f7e6b71e0894b90e8dc1221b1ec4f84ab3 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 25 Apr 2020 18:33:37 +0200 Subject: Added indirect pointers - re-enabled font :) I don't know why, but once there are multiple files on the drive the kernel can only read one file.. I'll investigate this later. --- src/kernel/fs/load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/fs/load.c') diff --git a/src/kernel/fs/load.c b/src/kernel/fs/load.c index 974c3fe..09e6dbc 100644 --- a/src/kernel/fs/load.c +++ b/src/kernel/fs/load.c @@ -1,13 +1,13 @@ #include #include -#include #include #include +#include void load_binaries() { - //userspace = (uint32_t)read_file("/bin/user.bin"); - font = (struct font *)read_file("/bin/font.bin"); + // userspace = (uint32_t)read_file("/bin/user.bin"); + font = (struct font *)read_file("/bin/font"); log("Successfully loaded binaries"); } -- cgit v1.2.3