forked from Bananymous/banan-os
Kernel: We now launch Shell again on boot
Adding this just before push :D
This commit is contained in:
parent
59a682c720
commit
d74ce4950c
|
@ -167,7 +167,7 @@ extern "C" void kernel_main()
|
||||||
Scheduler& scheduler = Scheduler::get();
|
Scheduler& scheduler = Scheduler::get();
|
||||||
MUST(Process::create_kernel(init2, tty1));
|
MUST(Process::create_kernel(init2, tty1));
|
||||||
scheduler.start();
|
scheduler.start();
|
||||||
|
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,17 +193,9 @@ static void init2(void* tty1)
|
||||||
Process::current().exit();
|
Process::current().exit();
|
||||||
}, nullptr
|
}, nullptr
|
||||||
));
|
));
|
||||||
return;
|
|
||||||
|
|
||||||
MUST(Process::create_kernel(
|
//jump_userspace();
|
||||||
[](void*)
|
//return;
|
||||||
{
|
|
||||||
|
|
||||||
}, nullptr
|
|
||||||
));
|
|
||||||
|
|
||||||
jump_userspace();
|
|
||||||
return;
|
|
||||||
|
|
||||||
MUST(Process::create_kernel(
|
MUST(Process::create_kernel(
|
||||||
[](void*)
|
[](void*)
|
||||||
|
|
Loading…
Reference in New Issue