Fix a bug that PeiCore might fail to fix up Ppi pointer in CAR.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5527 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -473,7 +473,7 @@ PeiDispatcher (
|
||||
// Update HandOffHob for new installed permenent memory
|
||||
//
|
||||
OldHandOffTable = Private->HobList.HandoffInformationTable;
|
||||
OldCheckingBottom = (UINTN)OldHandOffTable;
|
||||
OldCheckingBottom = (UINTN)(SecCoreData->TemporaryRamBase);
|
||||
OldCheckingTop = (UINTN)(OldCheckingBottom + SecCoreData->TemporaryRamSize);
|
||||
|
||||
//
|
||||
@@ -552,7 +552,8 @@ PeiDispatcher (
|
||||
ConvertPpiPointers ((CONST EFI_PEI_SERVICES **)PeiServices,
|
||||
OldCheckingBottom,
|
||||
OldCheckingTop,
|
||||
NewHandOffTable);
|
||||
HeapOffset
|
||||
);
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Stack Hob: BaseAddress=0x%X Length=0x%X\n",
|
||||
(UINTN)PrivateInMem->StackBase,
|
||||
|
Reference in New Issue
Block a user