mirror of https://github.com/acidanthera/audk.git
Update DxeCore to load image wit supported machine types:
DXE Core Supported Machine Types ======= =================== IA32 IA32, EBC, X64 X64 X64, EBC, IA32 IPF IPF, EBC EBC EBC git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4977 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2a4b165f8a
commit
5fed8e341a
|
@ -225,11 +225,13 @@ Returns:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->ImageContext.Machine)) {
|
if (!EFI_IMAGE_MACHINE_TYPE_SUPPORTED (Image->ImageContext.Machine)) {
|
||||||
//
|
if (!EFI_IMAGE_MACHINE_CROSS_TYPE_SUPPORTED (Image->ImageContext.Machine)) {
|
||||||
// The PE/COFF loader can support loading image types that can be executed.
|
//
|
||||||
// If we loaded an image type that we can not execute return EFI_UNSUPORTED.
|
// The PE/COFF loader can support loading image types that can be executed.
|
||||||
//
|
// If we loaded an image type that we can not execute return EFI_UNSUPORTED.
|
||||||
return EFI_UNSUPPORTED;
|
//
|
||||||
|
return EFI_UNSUPPORTED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue