After PeiCore is shadowed into permanent memory, the pointers to build-in Ffs2 FvPpi should be also fixed up to be pointed to the one in permanent memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9508 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1066,4 +1066,17 @@ FindNextCoreFvHandle (
|
||||
IN UINTN Instance
|
||||
);
|
||||
|
||||
/**
|
||||
After PeiCore image is shadowed into permanent memory, all build-in FvPpi should
|
||||
be re-installed with the instance in permanent memory and all cached FvPpi pointers in
|
||||
PrivateData->Fv[] array should be fixed up to be pointed to the one in permenant
|
||||
memory.
|
||||
|
||||
@param PrivateData Pointer to PEI_CORE_INSTANCE.
|
||||
**/
|
||||
VOID
|
||||
PeiReinitializeFv (
|
||||
IN PEI_CORE_INSTANCE *PrivateData
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user