summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei/PeiMain
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-15 06:48:20 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-15 06:48:20 +0000
commit424b7c9f8f0b1587210de67baaee235288380c6a (patch)
tree7fd3d690bb9127059fd5d6ebd54299c9772bdd98 /MdeModulePkg/Core/Pei/PeiMain
parenta9292c1363437b081ea72fd8f3b2ed075e2a7ef3 (diff)
downloadedk2-424b7c9f8f0b1587210de67baaee235288380c6a.zip
edk2-424b7c9f8f0b1587210de67baaee235288380c6a.tar.gz
edk2-424b7c9f8f0b1587210de67baaee235288380c6a.tar.bz2
Enhance the PEI Core to convert pointers pointing to PPI descriptors on the temporary stack.
Signed-off by: rsun3 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12354 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei/PeiMain')
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain/PeiMain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
index 0c0b270..2f63e4c 100644
--- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
+++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
@@ -1,7 +1,7 @@
/** @file
Pei Core Main Entry Point
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -204,9 +204,9 @@ PeiCore (
HandoffInformationTable->EfiFreeMemoryBottom = HandoffInformationTable->EfiEndOfHobList + sizeof (EFI_HOB_GENERIC_HEADER);
//
- // We need convert the PPI desciptor's pointer
+ // We need convert the PPI descriptor's pointer
//
- ConvertPpiPointers (OldCoreData, (UINTN)SecCoreData->TemporaryRamBase, (UINTN)SecCoreData->TemporaryRamBase + SecCoreData->TemporaryRamSize, OldCoreData->HeapOffset, OldCoreData->HeapOffsetPositive);
+ ConvertPpiPointers (SecCoreData, OldCoreData);
//
// After the whole temporary memory is migrated, then we can allocate page in