From 45184af20936cb889b658e69e00a0bb3d522757f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 16 Feb 2020 17:29:19 +0100 Subject: Revert to good ol' paging --- src/kernel/fs/load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/fs/load.c') diff --git a/src/kernel/fs/load.c b/src/kernel/fs/load.c index be7d5b8..cd422d0 100644 --- a/src/kernel/fs/load.c +++ b/src/kernel/fs/load.c @@ -4,11 +4,11 @@ #include #include #include -#include +#include void load_binaries() { - userspace = kmalloc(10000); + userspace = (uint32_t) kmalloc(10000); font = (struct font *) kmalloc(100000);; // High quality shit uint8_t boot_drive_id = (uint8_t) (*((uint8_t *) 0x9000)); -- cgit v1.2.3