aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libc/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libc/syscall.c')
-rw-r--r--src/userspace/libc/syscall.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c
index fd27ef5..42786d4 100644
--- a/src/userspace/libc/syscall.c
+++ b/src/userspace/libc/syscall.c
@@ -5,10 +5,12 @@
*/
DEFN_SYSCALL0(halt, 0);
-DEFN_SYSCALL1(putch, 1, const char *);
+DEFN_SYSCALL1(exec, 1, char *);
-DEFN_SYSCALL0(getch, 2);
+DEFN_SYSCALL1(putch, 2, char *);
-DEFN_SYSCALL1(malloc, 3, uint32_t);
+DEFN_SYSCALL0(getch, 3);
-DEFN_SYSCALL1(free, 4, uint32_t); \ No newline at end of file
+DEFN_SYSCALL1(malloc, 4, u32);
+
+DEFN_SYSCALL1(free, 5, u32);