From a06dbb8a63d825ebb1ad65372ce1ce1f572891bc Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 21 Oct 2022 16:06:00 +0300 Subject: initial spawn implementation --- common/tcb.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/tcb.c') diff --git a/common/tcb.c b/common/tcb.c index 8ff86ab..f618cd6 100644 --- a/common/tcb.c +++ b/common/tcb.c @@ -342,3 +342,8 @@ stat_t clone_proc_maps(struct tcb *r) return OK; } + +void set_return(struct tcb *t, vm_t v) +{ + t->exec = v; +} -- cgit v1.3