Kernel: We now launch Shell again on boot

Adding this just before push :D
This commit is contained in:
Bananymous 2023-04-19 00:41:24 +03:00
parent 59a682c720
commit d74ce4950c
1 changed files with 3 additions and 11 deletions

View File

@ -167,7 +167,7 @@ extern "C" void kernel_main()
Scheduler& scheduler = Scheduler::get();
MUST(Process::create_kernel(init2, tty1));
scheduler.start();
ASSERT_NOT_REACHED();
}
@ -193,17 +193,9 @@ static void init2(void* tty1)
Process::current().exit();
}, nullptr
));
return;
MUST(Process::create_kernel(
[](void*)
{
}, nullptr
));
jump_userspace();
return;
//jump_userspace();
//return;
MUST(Process::create_kernel(
[](void*)