From 84a8b41f4d4c444385e0d7ef058a57af07f0c2e1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 6 Jan 2020 00:06:45 +0100 Subject: Usermode based allocating works a bit now *a bit* --- src/kernel/syscall/actions/sys_alloc.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/kernel/syscall/actions/sys_alloc.c (limited to 'src/kernel/syscall/actions/sys_alloc.c') diff --git a/src/kernel/syscall/actions/sys_alloc.c b/src/kernel/syscall/actions/sys_alloc.c new file mode 100644 index 0000000..6579e0e --- /dev/null +++ b/src/kernel/syscall/actions/sys_alloc.c @@ -0,0 +1,7 @@ +#include +#include + +uint32_t sys_alloc(uint32_t count) +{ + return (uint32_t) umalloc(count); +} \ No newline at end of file -- cgit v1.2.3