From dc2d81f3c7628433bd3c51f1624200b3913ac746 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 7 Dec 2024 11:43:21 +0100 Subject: IMPL: Recover Kernel Window framework from previous commits. IMPL: Compiler fixes and improvements on the source code. Signed-off-by: Amlal --- dev/ZBAKit/src/HEL/AMD64/BootMain.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/ZBAKit/src') diff --git a/dev/ZBAKit/src/HEL/AMD64/BootMain.cc b/dev/ZBAKit/src/HEL/AMD64/BootMain.cc index 445ebd4e..fc61f2ea 100644 --- a/dev/ZBAKit/src/HEL/AMD64/BootMain.cc +++ b/dev/ZBAKit/src/HEL/AMD64/BootMain.cc @@ -197,7 +197,7 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle, BS->GetMemoryMap(&size_struct_ptr, struct_ptr, &map_key, &sz_desc, &rev_desc); - auto cDefaultMemoryMap = 0; // Grab any usable entries. + auto kDefaultMemoryMap = 0; // Grab any usable entries. //-----------------------------------------------------------// // A simple loop which finds a usable memory region for us. @@ -210,7 +210,7 @@ EFI_EXTERN_C EFI_API Int32 Main(EfiHandlePtr ImageHandle, ZKA_UNUSED(0); } - cDefaultMemoryMap = lookup_index; + kDefaultMemoryMap = lookup_index; //-----------------------------------------------------------// // Update handover file specific table and phyiscal start field. -- cgit v1.2.3