diff --git a/lib/syscall.c b/lib/syscall.c index 9233e23..7b09574 100644 --- a/lib/syscall.c +++ b/lib/syscall.c @@ -55,13 +55,13 @@ fast_syscall(int num, uint32_t a1, uint32_t a2, uint32_t a3, uint32_t a4) { void sys_cputs(const char *s, size_t len) { - fast_syscall(SYS_cputs, (uint32_t)s, len, 0, 0); + syscall(SYS_cputs, 0, (uint32_t)s, len, 0, 0, 0); } int sys_cgetc(void) { - return fast_syscall(SYS_cgetc, 0, 0, 0, 0); + return syscall(SYS_cgetc, 0, 0, 0, 0, 0, 0); } int