diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 11:39:57 +0000 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 11:39:57 +0000 |
| commit | 05eca8d3061b60eac0a652a4b1e39269a9af79e8 (patch) | |
| tree | aef93af31d679cc5e9ee251f937b5554d0d978c1 /Private/Source | |
| parent | f08c864e988f6f1f01985910955755220b37ecc8 (diff) | |
| parent | 167ef193e25aa58e962620558b8e2685cbded476 (diff) | |
Merge branch 'HCR-9-add-support-for-file-load-hel-amd64' into 'trunk'
Bootloader: Getting it done now.
See merge request mahrouss-logic/micro-kernel!4
Diffstat (limited to 'Private/Source')
| -rw-r--r-- | Private/Source/RuntimeMain.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Private/Source/RuntimeMain.cxx b/Private/Source/RuntimeMain.cxx index 02a7ce09..f103e98c 100644 --- a/Private/Source/RuntimeMain.cxx +++ b/Private/Source/RuntimeMain.cxx @@ -8,8 +8,9 @@ */ #include <ArchKit/Arch.hpp> -#include <KernelKit/CodeManager.hpp> +#include <EFIKit/BootProtocol.hxx> #include <KernelKit/FileManager.hpp> +#include <KernelKit/PEFCodeManager.hxx> #include <NewKit/Json.hpp> #include <NewKit/KernelHeap.hpp> #include <NewKit/UserHeap.hpp> @@ -18,7 +19,8 @@ extern "C" void (*__SYSTEM_FINI)(); extern "C" void (**__SYSTEM_INIT)(); -extern "C" void RuntimeMain() { +extern "C" void RuntimeMain( + HCore::HEL::HandoverInformationHeader* HandoverHeader) { /// Init C++ globals for (HCore::SizeT index_init = 0UL; __SYSTEM_INIT[index_init] != __SYSTEM_FINI; ++index_init) { @@ -31,7 +33,7 @@ extern "C" void RuntimeMain() { MUST_PASS(HCore::ke_init_hal()); HCore::IFilesystemManager::Mount(new HCore::NewFilesystemManager()); - HCore::PEFLoader img("/System/Shell.exe"); + HCore::PEFLoader img("/System/HCoreShell.exe"); if (!HCore::Utils::execute_from_image(img)) { HCore::ke_stop(RUNTIME_CHECK_BOOTSTRAP); |
