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_free.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/kernel/syscall/actions/sys_free.c (limited to 'src/kernel/syscall/actions/sys_free.c') diff --git a/src/kernel/syscall/actions/sys_free.c b/src/kernel/syscall/actions/sys_free.c new file mode 100644 index 0000000..6c3a82f --- /dev/null +++ b/src/kernel/syscall/actions/sys_free.c @@ -0,0 +1,8 @@ +#include +#include + +uint32_t sys_free(uint32_t ptr) +{ + ufree((void *) ptr); + return 0; +} \ No newline at end of file -- cgit v1.2.3