aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 23:33:34 +0200
committerMarvin Borner2020-04-28 23:33:34 +0200
commit34c752f6fe4f71169172f1b3e46b1eddf69eba6e (patch)
treec9acf3f6cac1791861d3506c4fe6f2c1dfedeae5 /src/kernel/syscall
parent5f8b5ce7efb7738eaebad43f9648975788ae19ff (diff)
Added support for multiple user applications
Diffstat (limited to 'src/kernel/syscall')
-rw-r--r--src/kernel/syscall/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c
index a106f07..ca12118 100644
--- a/src/kernel/syscall/syscall.c
+++ b/src/kernel/syscall/syscall.c
@@ -8,7 +8,7 @@
typedef uint32_t (*syscall_func)(uint32_t, ...);
uint32_t (*syscalls[])() = { [0] = (uint32_t(*)())halt_loop, // DEBUG!
- [1] = sys_putch,
+ [1] = (uint32_t(*)())sys_putch,
[2] = sys_getch,
[3] = sys_malloc,
[4] = sys_free };