]> git.proxmox.com Git - mirror_edk2.git/commitdiff
change the GetPcd64 to FixedGetPcd64 to pass ECC
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Feb 2010 09:52:46 +0000 (09:52 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Feb 2010 09:52:46 +0000 (09:52 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9957 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/Image/Image.c

index f516f26f489415a58b20441e911828b18eef2aac..7752fab70dc5f8880aa3f61cf9e132df17664326 100644 (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\r
          // relative to top address\r
          //\r
-         if ((INT64)PcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {\r
+         if ((INT64)FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {\r
                 ImageContext->ImageAddress = gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress + (INT64)ImageContext->ImageAddress;\r
          }\r
          //\r