aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi/proc.c')
-rw-r--r--src/uapi/proc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uapi/proc.c b/src/uapi/proc.c
index ff02113..293a01f 100644
--- a/src/uapi/proc.c
+++ b/src/uapi/proc.c
@@ -37,6 +37,9 @@ SYSCALL_DEFINE5(create)(struct tcb *t, sys_arg_t func,
if (!c)
return_args1(t, ERR_OOMEM);
+ /** @todo there's quite a bit of overlap between this and what
+ * core_bringup() is doing, might separate this out into its own
+ * function? */
alloc_stack(c);
set_args5(c, c->tid, d0, d1, d2, d3);