summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/KeMain.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-13 19:55:30 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-13 19:55:30 +0200
commit12126f9eebfa7fc6b2cd6148f13585ff71cf5425 (patch)
tree9fbf2130329eac51fc0dfae30527f5dabad6d41e /Kernel/Sources/KeMain.cxx
parent7327f305efb1c6678722308cc5f9645dd39f451e (diff)
MHR-31: Rework scheduler, remove the concept of user driver and rings.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
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();
}