]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fixed a bug in LMFA code
authorjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Mar 2010 04:35:00 +0000 (04:35 +0000)
committerjchen20 <jchen20@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Mar 2010 04:35:00 +0000 (04:35 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10233 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c

index 85a1ad7d8e81127bf9a1b140bf6152bfb460b847..eb6313ac2377bb6c7785c37dac8d0adedd8aa161 100644 (file)
@@ -1048,7 +1048,7 @@ PeiDispatcher (
               //\r
               PrivateInMem->PeimDispatcherReenter  = TRUE;\r
               \r
-              if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 && (Private->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME)) {\r
+              if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 && (PrivateInMem->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME)) {\r
                 //\r
                 // if Loading Module at Fixed Address is enabled, allocate the PEI code memory range usage bit map array.\r
                 // Every bit in the array indicate the status of the corresponding memory page available or not\r