From 8dd1f460055d2180e5e31c8aac7523b6bdc63016 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 16 May 2025 09:35:49 -0400 Subject: kernel: spawn: Add proper spawn impl + SYS_spawn This commit introduces a more complete spawn implementation as well as the SYS_spawn syscall and a libc interface. Signed-off-by: Ian Moffett --- sys/kern/init_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/init_main.c') diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 911785a..670d68c 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -101,7 +101,7 @@ main(void) /* Startup pid 1 */ memset(&proc0, 0, sizeof(proc0.tf)); - spawn(&proc0, 0, start_init, NULL); + spawn(&proc0, start_init, NULL, 0, NULL); /* Load all drivers */ DRIVERS_INIT(); -- cgit v1.2.3