From 86c4aa03edc158db7e2cf36109daa14f469f9191 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 3 May 2019 15:49:42 -0700 Subject: [PATCH] Disable fast syscall for the time being. --- lib/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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