From e47e393fc01c663ca634068c56a41eb74ed01439 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 2 Sep 2024 17:30:15 +0200 Subject: [ FIX ] A fix has been found for the SYSRET issue. Will apply it later. Signed-off-by: Amlal El Mahrouss --- dev/ZBA/Sources/HEL/AMD64/BootMain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/ZBA') diff --git a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx index ff8c3211..bb929028 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx +++ b/dev/ZBA/Sources/HEL/AMD64/BootMain.cxx @@ -191,7 +191,7 @@ EFI_EXTERN_C EFI_API Int Main(EfiHandlePtr ImageHandle, handoverHdrPtr->f_HeapStart = 0; - while (BS->AllocatePool(EfiRuntimeServicesCode, kHandoverHeapSz, &handoverHdrPtr->f_HeapStart) != kEfiOk) + while (BS->AllocatePool(EfiLoaderData, kHandoverHeapSz, &handoverHdrPtr->f_HeapStart) != kEfiOk) ; handoverHdrPtr->f_VirtualSize = -- cgit v1.2.3