From 62ee0f7e1936a9eccb55fa360a1dce223819e0b8 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 11 Jun 2022 23:35:33 +0300 Subject: continue documentation --- common/proc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/proc.c') diff --git a/common/proc.c b/common/proc.c index 001e127..6de22c1 100644 --- a/common/proc.c +++ b/common/proc.c @@ -10,6 +10,7 @@ #include #include #include +#include stat_t prepare_proc(struct tcb *t, vm_t bin, vm_t interp) { @@ -33,6 +34,7 @@ stat_t init_proc(void *fdt) return ERR_OOMEM; /* set current tcb */ + cpu_assign(t); use_tcb(t); use_vmem(t->proc.vmem); -- cgit v1.3