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:
jchen20 2010-02-09 09:52:46 +00:00
parent ea99e00d76
commit 99ff63cf03
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
// //