aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2019-12-09 16:06:37 +0100
committerMarvin Borner2019-12-09 16:06:37 +0100
commit33bdf18dad2539aca21727e95e04bfedecd37a76 (patch)
tree26ca76090ef534ca192a2ee25dded3cf11fe08cc /src/kernel/syscall/syscall.c
parent79d2ca772615474f18f32e91cf7fa8d53d02e73d (diff)
Lars, your wish may come true if you fix this!
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r--src/kernel/syscall/syscall.c4
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)