diff options
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r-- | src/kernel/syscall/syscall.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c index eb44c87..89b70eb 100644 --- a/src/kernel/syscall/syscall.c +++ b/src/kernel/syscall/syscall.c @@ -7,7 +7,9 @@ typedef uint32_t (*syscall_func)(unsigned int, ...); uint32_t (*syscalls[])() = { [1] = sys_write, - [2] = sys_read + [2] = sys_read, + [3] = (uint32_t (*)()) sys_writec, + [4] = sys_readc }; void syscall_handler(struct regs *r) |