From: Alan Cox Date: Sat, 30 May 2015 02:02:53 +0000 (+0100) Subject: start: we are effectively in syscall when we create init X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=422eef3dfab93d4a5e9d74d1181e5468bc0d6d28;p=FUZIX.git start: we are effectively in syscall when we create init --- diff --git a/Kernel/start.c b/Kernel/start.c index 5085917b..b49043ed 100644 --- a/Kernel/start.c +++ b/Kernel/start.c @@ -70,6 +70,8 @@ void create_init(void) map_init(); newproc(init_process); + udata.u_insys = 1; + init_process->p_status = P_RUNNING; /* wipe file table */