diff options
author | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-09 09:52:46 +0000 |
---|---|---|
committer | jchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-09 09:52:46 +0000 |
commit | 99ff63cf03c30a000056d0a51c88965700c1c7f6 (patch) | |
tree | 9af60e2b3f2736f498e82f6d15be0d99a46abe53 | |
parent | ea99e00d7694f2dc9ece9647b59f296d2f70700f (diff) | |
download | edk2-99ff63cf03c30a000056d0a51c88965700c1c7f6.tar.gz edk2-99ff63cf03c30a000056d0a51c88965700c1c7f6.tar.bz2 edk2-99ff63cf03c30a000056d0a51c88965700c1c7f6.zip |
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
-rw-r--r-- | MdeModulePkg/Core/Dxe/Image/Image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c index f516f26f48..7752fab70d 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -355,7 +355,7 @@ GetPeCoffImageFixLoadingAssignedAddress( // hold the spcified address. If the feature is configured as load module at fixed offset, ImageAddress hold an offset
// relative to top address
//
- if ((INT64)PcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {
+ if ((INT64)FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {
ImageContext->ImageAddress = gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress + (INT64)ImageContext->ImageAddress;
}
//
|