Have no idea what the changes here are.
This commit is contained in:
parent
e10f110a1f
commit
440b4998e3
|
@ -1460,8 +1460,8 @@ EFI_STATUS LoadKernel(EFI_HANDLE ImageHandle, GFX_INFO* Graphics, EFI_CONFIGURAT
|
|||
|
||||
AwaitKey(L"Preparing to exit UEFI services and call kernel..\r\n");
|
||||
|
||||
size_t MapSize = 0, MapKey, MapDescSize;
|
||||
uint32_t MapDescriptorVersion;
|
||||
size_t MapSize = 0, MapKey = 0, MapDescSize = 0;
|
||||
uint32_t MapDescriptorVersion = 0;
|
||||
|
||||
EFI_MEMORY_DESCRIPTOR* Map = NULL;
|
||||
|
||||
|
@ -1477,6 +1477,7 @@ EFI_STATUS LoadKernel(EFI_HANDLE ImageHandle, GFX_INFO* Graphics, EFI_CONFIGURAT
|
|||
KernelStatus = BS->GetMemoryMap(&MapSize, Map, &MapKey, &MapDescSize, &MapDescriptorVersion);
|
||||
|
||||
}
|
||||
|
||||
//Print(L"Memory Key: %llx", MapKey);
|
||||
KernelStatus = BS->ExitBootServices(ImageHandle, MapKey);
|
||||
if (EFI_ERROR(KernelStatus)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user