mirror of https://github.com/acidanthera/audk.git
change the GetPcd64 to FixedGetPcd64 to pass ECC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9957 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ea99e00d76
commit
99ff63cf03
|
@ -355,7 +355,7 @@ GetPeCoffImageFixLoadingAssignedAddress(
|
||||||
// hold the spcified address. If the feature is configured as load module at fixed offset, ImageAddress hold an offset
|
// hold the spcified address. If the feature is configured as load module at fixed offset, ImageAddress hold an offset
|
||||||
// relative to top address
|
// relative to top address
|
||||||
//
|
//
|
||||||
if ((INT64)PcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {
|
if ((INT64)FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {
|
||||||
ImageContext->ImageAddress = gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress + (INT64)ImageContext->ImageAddress;
|
ImageContext->ImageAddress = gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress + (INT64)ImageContext->ImageAddress;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue