diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-16 09:35:49 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-16 09:35:49 -0400 |
commit | 8dd1f460055d2180e5e31c8aac7523b6bdc63016 (patch) | |
tree | 3e02e91a526d668d16764cdcfd4d5d8ca910d327 /sys/kern/init_main.c | |
parent | 03f145b2fd5a01e40a3066c6cf2f649000a9fcd8 (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |