summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/KeMain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Sources/KeMain.cxx')
-rw-r--r--Kernel/Sources/KeMain.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Kernel/Sources/KeMain.cxx b/Kernel/Sources/KeMain.cxx
index 60494ee3..9be8a026 100644
--- a/Kernel/Sources/KeMain.cxx
+++ b/Kernel/Sources/KeMain.cxx
@@ -204,9 +204,7 @@ namespace NewOS::Detail
NewOS::Utils::execute_from_image(stageBoard,
NewOS::ProcessHeader::kAppKind);
- NewOS::kcout << "SystemLauncher: done, sleeping...";
-
- while (true) {}
+ /// TODO: now jump to user mode using the HAL.
}
} // namespace NewOS::Detail
@@ -218,6 +216,5 @@ EXTERN_C NewOS::Void KeMain(NewOS::Void)
/// Now run kernel loop, until no process are running.
NewOS::Detail::FilesystemWizard wizard; // automatic.
- auto cLoaderName = "SystemLauncher";
- NewOS::execute_from_image(NewOS::Detail::SystemLauncher_Main, cLoaderName);
+ NewOS::Detail::SystemLauncher_Main();
}