From 422eef3dfab93d4a5e9d74d1181e5468bc0d6d28 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 30 May 2015 03:02:53 +0100 Subject: [PATCH] start: we are effectively in syscall when we create init --- Kernel/start.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.34.1