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.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c
index c147703..fd27ef5 100644
--- a/src/userspace/libc/syscall.c
+++ b/src/userspace/libc/syscall.c
@@ -5,16 +5,10 @@
*/
DEFN_SYSCALL0(halt, 0);
-DEFN_SYSCALL1(write, 1, const char *);
+DEFN_SYSCALL1(putch, 1, const char *);
-DEFN_SYSCALL1(read, 2, const char *);
+DEFN_SYSCALL0(getch, 2);
-DEFN_SYSCALL1(writec, 3, char);
+DEFN_SYSCALL1(malloc, 3, uint32_t);
-DEFN_SYSCALL0(readc, 4);
-
-DEFN_SYSCALL0(get_pointers, 5);
-
-DEFN_SYSCALL1(alloc, 6, uint32_t);
-
-DEFN_SYSCALL1(free, 7, uint32_t);
+DEFN_SYSCALL1(free, 4, uint32_t); \ No newline at end of file