From bfe16de4be67565f1a1e7b1331fcbe3aedf9c54e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 28 Apr 2020 19:15:47 +0200 Subject: Userspace rewrite -> IT WORKS! :) Finally, after many months of work and rewrites the syscalls with constant char pointers work now :D --- src/userspace/mlibc/stdlib/liballoc.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/userspace/mlibc/stdlib/liballoc.c (limited to 'src/userspace/mlibc/stdlib/liballoc.c') diff --git a/src/userspace/mlibc/stdlib/liballoc.c b/src/userspace/mlibc/stdlib/liballoc.c deleted file mode 100644 index e57a5e2..0000000 --- a/src/userspace/mlibc/stdlib/liballoc.c +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include - -void *malloc(size_t count) -{ - return (void *)syscall_alloc(count); -} - -void free(void *ptr) -{ - syscall_free((uint32_t)ptr); -} \ No newline at end of file -- cgit v1.2.3