Kernel: Allow kernel to pass arguments to init process

This commit is contained in:
2024-11-17 22:38:02 +02:00
parent 36d07065fb
commit 458a362f98
3 changed files with 33 additions and 14 deletions

View File

@@ -254,7 +254,7 @@ static void init2(void*)
TTY::initialize_devices();
MUST(Process::create_userspace({ 0, 0, 0, 0 }, "/usr/bin/init"_sv));
MUST(Process::create_userspace({ 0, 0, 0, 0 }, "/usr/bin/init"_sv, {}));
}
extern "C" void ap_main()