summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/KernelMain.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-23 02:58:39 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-23 02:58:39 +0100
commit5563deabd8f7ce3fc713ea23f8cf5bbac33b4024 (patch)
treef182700a0360ecf7319415915638e44a5d0074dc /Private/Source/KernelMain.cxx
parentab4eaababec7f870378ed64fbbf51b154b292a7b (diff)
Kernel: add heap information (allocator)
- Force use of itanium ABI even of MPCC. - Revision of handover has been done. (it is not assuming any starting address) Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/KernelMain.cxx')
-rw-r--r--Private/Source/KernelMain.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Private/Source/KernelMain.cxx b/Private/Source/KernelMain.cxx
index 171deff1..e293cbf2 100644
--- a/Private/Source/KernelMain.cxx
+++ b/Private/Source/KernelMain.cxx
@@ -24,16 +24,12 @@ EXTERN_C void RuntimeMain(
kKernelPhysicalSize = HandoverHeader->f_VirtualSize;
kKernelPhysicalStart = HandoverHeader->f_VirtualStart;
- /// Init memory managers.
- HCore::ke_init_ke_heap();
- HCore::ke_init_heap();
-
/// Init the HAL.
MUST_PASS(HCore::ke_init_hal());
/// Mount a New partition.
// HCore::IFilesystemManager::Mount(new HCore::NewFilesystemManager());
- HCore::PEFLoader img("/System/HCoreShell.exe");
+ HCore::PEFLoader img("C:/System/HCoreShell.exe");
/// Run the shell.
if (!HCore::Utils::execute_from_image(img)) {