mirror of https://github.com/acidanthera/audk.git
Avoid shadowing PE image read function on IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10057 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a15553c5ec
commit
f505090909
|
@ -117,7 +117,7 @@ GetImageReadFunction (
|
|||
|
||||
Private = PEI_CORE_INSTANCE_FROM_PS_THIS (GetPeiServicesTablePointer ());
|
||||
|
||||
if (!Private->PeiMemoryInstalled || (Private->HobList.HandoffInformationTable->BootMode == BOOT_ON_S3_RESUME)) {
|
||||
if (!Private->PeiMemoryInstalled || (Private->HobList.HandoffInformationTable->BootMode == BOOT_ON_S3_RESUME) || EFI_IMAGE_MACHINE_TYPE_SUPPORTED(EFI_IMAGE_MACHINE_IA64)) {
|
||||
ImageContext->ImageRead = PeiImageRead;
|
||||
} else {
|
||||
if (Private->ShadowedImageRead == NULL) {
|
||||
|
|
Loading…
Reference in New Issue