diff options
author | Marvin Borner | 2020-04-25 18:33:37 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-25 18:33:37 +0200 |
commit | 71a111f7e6b71e0894b90e8dc1221b1ec4f84ab3 (patch) | |
tree | 78a8340f7909429d91f560ba2915959a4d313a1b /src/kernel/fs/load.c | |
parent | 30601e14f216488ee3a36dc44ab0ed56da7ccdb2 (diff) |
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.
Diffstat (limited to 'src/kernel/fs/load.c')
-rw-r--r-- | src/kernel/fs/load.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <kernel/fs/load.h> #include <kernel/system.h> -#include <kernel/memory/alloc.h> #include <kernel/lib/stdio.h> #include <kernel/lib/lib.h> +#include <kernel/fs/ext2.h> 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"); } |