提交 f3de1114 编写于 作者: V vit9696

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.
上级 2325075d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册