OcAppleCompatLib: Drop memory map size warning

On some firmwares, namely MP5,1 memory map is very large (8880 bytes),
but XNU compatible. Printing this will make ExitBootServices fail.
This commit is contained in:
vit9696 2020-04-04 02:06:08 +03:00
parent 2325075dc3
commit f3de1114e7

View File

@ -491,10 +491,6 @@ OcGetMemoryMap (
// during hibernate wake to be able to iterate memory map.
//
BootCompat->ServiceState.MemoryMapDescriptorSize = *DescriptorSize;
if (*MemoryMapSize > EFI_PAGE_SIZE) {
DEBUG ((DEBUG_INFO, "OCABC: Memory map exceeds 4K - %u, booting may fail\n", (UINT32) *MemoryMapSize));
}
}
return Status;