From dcce18799f2461e64cec3bdc50cbc86181ff5eca Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 19 Apr 2023 00:41:24 +0300 Subject: [PATCH] Kernel: We now launch Shell again on boot Adding this just before push :D --- kernel/kernel/kernel.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/kernel/kernel/kernel.cpp b/kernel/kernel/kernel.cpp index 02e52acb20..f28920a495 100644 --- a/kernel/kernel/kernel.cpp +++ b/kernel/kernel/kernel.cpp @@ -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*)