aboutsummaryrefslogtreecommitdiff
path: root/common/tcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/tcb.c')
-rw-r--r--common/tcb.c5
1 files changed, 5 insertions, 0 deletions
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;
+}