diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-05-19 19:13:03 +0200 |
| commit | aad2c069563a3e7318b575216db6deb313445f2c (patch) | |
| tree | 2ba42b767473bebdca9d2538d120f0b4d82194e4 /Kernel/Source/AppMain.cxx | |
| parent | c0428f8e5feba9573e572a1a1b3c66cfa1f29108 (diff) | |
MHR-23: Fix run_format.sh, inl files needs to be formated as well.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/Source/AppMain.cxx')
| -rw-r--r-- | Kernel/Source/AppMain.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Kernel/Source/AppMain.cxx b/Kernel/Source/AppMain.cxx index 028e70e5..e9da459b 100644 --- a/Kernel/Source/AppMain.cxx +++ b/Kernel/Source/AppMain.cxx @@ -1,9 +1,9 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs - File: AppMain.cxx - Purpose: Kernel main loop. + File: AppMain.cxx + Purpose: Kernel main loop. ------------------------------------------- */ @@ -24,7 +24,7 @@ #include <NewKit/Utils.hpp> #include <KernelKit/CodeManager.hpp> -namespace Detail +namespace NewOS::Detail { /// @brief Filesystem auto mounter, additional checks are also done by the /// class. @@ -208,7 +208,7 @@ namespace Detail NewOS::ProcessScheduler::Shared().Leak().GetCurrent().Leak().Exit(0); } -} // namespace Detail +} // namespace NewOS::Detail /// @brief Application entrypoint. /// @param Void @@ -216,13 +216,13 @@ namespace Detail EXTERN_C NewOS::Void AppMain(NewOS::Void) { /// Now run kernel loop, until no process are running. - Detail::FilesystemWizard wizard; // automatic. + NewOS::Detail::FilesystemWizard wizard; // automatic. auto cLoaderName = "SystemLoader"; - NewOS::execute_from_image(Detail::AppSystemLoader, cLoaderName); + NewOS::execute_from_image(NewOS::Detail::AppSystemLoader, cLoaderName); while (NewOS::ProcessScheduler::Shared().Leak().Run() > 0) { - NewOS::kcout << "New OS: sleeping...\r"; + NewOS::kcout << "New OS: Shuting down...\r"; } } |
