aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/stdlib/liballoc.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 19:15:47 +0200
committerMarvin Borner2020-04-28 19:15:47 +0200
commitbfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (patch)
tree1bc7450acb82410753e34da30cb9f44d19b9e92b /src/userspace/mlibc/stdlib/liballoc.c
parent4b8518b4e791c68154ec52badcc921b62afafb49 (diff)
Userspace rewrite -> IT WORKS! :)
Finally, after many months of work and rewrites the syscalls with constant char pointers work now :D
Diffstat (limited to 'src/userspace/mlibc/stdlib/liballoc.c')
-rw-r--r--src/userspace/mlibc/stdlib/liballoc.c12
1 files changed, 0 insertions, 12 deletions
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 <stddef.h>
-#include <syscall.h>
-
-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