diff options
| author | Miguel <m.i@gmx.at> | 2018-09-02 03:53:32 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-02 03:53:32 +0200 |
| commit | ab6b44f5197e4c6c19f225f909035385d37883b4 (patch) | |
| tree | 2c07e5bc65cf8e19a6433a7c0c5135eabb56a59c /kernel/syscalls.c | |
| parent | c459fab7662eaf45df9994c828065b9fc8d4a8ac (diff) | |
foolsnake showcasing multithreading and our console
Diffstat (limited to 'kernel/syscalls.c')
| -rw-r--r-- | kernel/syscalls.c | 2 |
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; |
