diff options
author | Marvin Borner | 2020-01-20 23:12:54 +0100 |
---|---|---|
committer | Marvin Borner | 2020-01-20 23:12:54 +0100 |
commit | 391ed256d21a6ae2e2456d1809f357e6e96e15d1 (patch) | |
tree | 0fe9ffb3c59bbfeb3d8a04ab7fc6efba60d81e79 /src/kernel/syscall/actions/sys_get_pointers.c | |
parent | d5d1749257ff8b9aa6b5ace4b4720b484a2860f3 (diff) |
Added pure awesomeness
Actually quite some days of work but ok
Diffstat (limited to 'src/kernel/syscall/actions/sys_get_pointers.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_get_pointers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall/actions/sys_get_pointers.c b/src/kernel/syscall/actions/sys_get_pointers.c index 554f4eb..8e34ddd 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/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; |