diff options
Diffstat (limited to 'src/kernel/syscall/actions/sys_get_pointers.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_get_pointers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/syscall/actions/sys_get_pointers.c b/src/kernel/syscall/actions/sys_get_pointers.c index 554f4eb..bc00b3b 100644 --- a/src/kernel/syscall/actions/sys_get_pointers.c +++ b/src/kernel/syscall/actions/sys_get_pointers.c @@ -1,7 +1,7 @@ #include <stdint.h> #include <kernel/graphics/vesa.h> -#include <kernel/graphics/font.h> -#include <kernel/lib/stdlib/liballoc.h> +#include <kernel/fs/load.h> +#include <kernel/memory/kheap.h> struct userspace_pointers { unsigned char *fb; @@ -10,7 +10,7 @@ struct userspace_pointers { uint32_t sys_get_pointers() { - struct userspace_pointers *pointers = (struct userspace_pointers *) umalloc(sizeof(struct userspace_pointers)); + struct userspace_pointers *pointers = (struct userspace_pointers *) kmalloc(sizeof(struct userspace_pointers)); pointers->fb = fb; pointers->font = font; return (uint32_t) pointers; |