From 025709e8643eb24e3360e575564b34ebd8062fd7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 17 Dec 2019 21:50:02 +0100 Subject: Finally fixed text input syscalls! I guess I can officially call me dumb now as I just forgot to return the actual value from the syscall handler... --- src/kernel/syscall/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/syscall/syscall.h') diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h index 378b5e3..ae69800 100644 --- a/src/kernel/syscall/syscall.h +++ b/src/kernel/syscall/syscall.h @@ -7,9 +7,9 @@ void syscalls_install(); uint32_t sys_write(char *buf); -uint32_t sys_writec(char *ch); +uint32_t sys_writec(char ch); -uint32_t sys_read(char *buf); +uint32_t sys_read(); uint32_t sys_readc(char *ch); -- cgit v1.2.3