diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-21 16:06:00 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-21 16:06:00 +0300 |
| commit | a06dbb8a63d825ebb1ad65372ce1ce1f572891bc (patch) | |
| tree | 342f74db0777a76eed64830ded71db16399e983d /common/tcb.c | |
| parent | 00d3ae26dfd7c91c0817e71d71636982680d0b28 (diff) | |
| download | kmi-a06dbb8a63d825ebb1ad65372ce1ce1f572891bc.tar.gz kmi-a06dbb8a63d825ebb1ad65372ce1ce1f572891bc.zip | |
initial spawn implementation
Diffstat (limited to 'common/tcb.c')
| -rw-r--r-- | common/tcb.c | 5 |
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; +} |
