summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 03:53:32 +0200
committerMiguel <m.i@gmx.at>2018-09-02 03:53:32 +0200
commitab6b44f5197e4c6c19f225f909035385d37883b4 (patch)
tree2c07e5bc65cf8e19a6433a7c0c5135eabb56a59c /kernel/syscalls.c
parentc459fab7662eaf45df9994c828065b9fc8d4a8ac (diff)
foolsnake showcasing multithreading and our console
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index 2a31a81..f92ef4d 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -330,6 +330,8 @@ uint32_t syscall_generic(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint
return syscall_execve(p1,p2,p3,pid);
case SYSCALL_FORK :
return task_fork(pid);
+ case SYSCALL_CLONE :
+ return task_clone(pid);
case SYSCALL_GETPID :
// return syscall_getpid(p1,p2,p3);
return -1;