aboutsummaryrefslogtreecommitdiff
path: root/src/uapi
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-26 19:54:48 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-26 19:54:48 +0300
commit1b5a553194f47066d60bb1c9475af1f413af8f4a (patch)
tree05991354207a634d8f48d72a4756a26f40483e33 /src/uapi
parentf81cad34c0e29384a393bf3aa25dbce3d5962c53 (diff)
downloadkmi-1b5a553194f47066d60bb1c9475af1f413af8f4a.tar.gz
kmi-1b5a553194f47066d60bb1c9475af1f413af8f4a.zip
make sys_create() better + test
Diffstat (limited to 'src/uapi')
-rw-r--r--src/uapi/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uapi/proc.c b/src/uapi/proc.c
index b90433f..a99acb5 100644
--- a/src/uapi/proc.c
+++ b/src/uapi/proc.c
@@ -42,6 +42,7 @@ SYSCALL_DEFINE5(create)(struct tcb *t, sys_arg_t func,
* core_bringup() is doing, might separate this out into its own
* function? */
alloc_stack(c);
+ set_thread(c);
set_ret5(c, c->tid, d0, d1, d2, d3);
set_return(c, func);