diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-29 18:17:47 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-29 18:18:59 +0100 |
| commit | 65254486efff0fd1bb78a48ff90b7713a5ce539f (patch) | |
| tree | 20ce02c12a74ba9e6cd382bf9c1f09a0c611cb4d /Private/Source/RuntimeMain.cxx | |
| parent | f03986937db0b927da4b10554801e18e4dc7c43f (diff) | |
Kernel: Update TODO.
Src: Refactorings according to clang-format.
Meta: Update specification.
Public: Remove useless UIKit.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/RuntimeMain.cxx')
| -rw-r--r-- | Private/Source/RuntimeMain.cxx | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/Private/Source/RuntimeMain.cxx b/Private/Source/RuntimeMain.cxx index 210a5c43..a2b777d8 100644 --- a/Private/Source/RuntimeMain.cxx +++ b/Private/Source/RuntimeMain.cxx @@ -7,7 +7,6 @@ * ======================================================== */ -#include "NewKit/Defines.hpp" #include <ArchKit/Arch.hpp> #include <KernelKit/CodeManager.hpp> #include <KernelKit/FileManager.hpp> @@ -17,20 +16,18 @@ extern "C" void (*__SYSTEM_FINI)(); extern "C" void (**__SYSTEM_INIT)(); -extern "C" void RuntimeMain() -{ - for (hCore::SizeT index_init = 0UL; __SYSTEM_INIT[index_init] != __SYSTEM_FINI; ++index_init) - { - __SYSTEM_INIT[index_init](); - } +extern "C" void RuntimeMain() { + for (hCore::SizeT index_init = 0UL; + __SYSTEM_INIT[index_init] != __SYSTEM_FINI; ++index_init) { + __SYSTEM_INIT[index_init](); + } - MUST_PASS(hCore::init_hal()); + MUST_PASS(hCore::init_hal()); - hCore::IFilesystemManager::Mount(new hCore::NewFilesystemManager()); - hCore::PEFLoader img("/System/Seeker.cm"); + hCore::IFilesystemManager::Mount(new hCore::NewFilesystemManager()); + hCore::PEFLoader img("/System/Seeker.cm"); - if (!hCore::Utils::execute_from_image(img)) - { - hCore::panic(RUNTIME_CHECK_BOOTSTRAP); - } + if (!hCore::Utils::execute_from_image(img)) { + hCore::panic(RUNTIME_CHECK_BOOTSTRAP); + } } |
