summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-21 22:22:54 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-21 22:22:54 +0100
commit223aad0fd3f8af6f69eb6429e5514bc888afe0d9 (patch)
tree7de1e607423f3af6791d659a8f72556ecc798f72 /Private/NewBoot
parent44b7347157830e17fdb376d27a5d1cd402d2bd6f (diff)
Kernel: fixes and improvements.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot')
-rw-r--r--Private/NewBoot/Source/RuntimeMain.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Private/NewBoot/Source/RuntimeMain.cxx b/Private/NewBoot/Source/RuntimeMain.cxx
index 4dd0c437..65cd1e44 100644
--- a/Private/NewBoot/Source/RuntimeMain.cxx
+++ b/Private/NewBoot/Source/RuntimeMain.cxx
@@ -125,6 +125,8 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle,
writer.WriteString(L"HCoreLdr: Booting HCore...\r\n");
+ EFI::ExitBootServices(MapKey, ImageHandle);
+
EFI::Stop();
return kEfiOk;