mirror of https://github.com/acidanthera/audk.git
Remove the tab characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8e0e40ed3d
commit
7ec939170c
|
@ -722,7 +722,7 @@ InitializeDispatcherData (
|
||||||
PrivateData->PeimDispatcherReenter = FALSE;
|
PrivateData->PeimDispatcherReenter = FALSE;
|
||||||
PeiInitializeFv (PrivateData, SecCoreData);
|
PeiInitializeFv (PrivateData, SecCoreData);
|
||||||
} else {
|
} else {
|
||||||
PeiReinitializeFv (PrivateData);
|
PeiReinitializeFv (PrivateData);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1388,37 +1388,37 @@ PeiReinitializeFv (
|
||||||
IN PEI_CORE_INSTANCE *PrivateData
|
IN PEI_CORE_INSTANCE *PrivateData
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
VOID *OldFfs2FvPpi;
|
VOID *OldFfs2FvPpi;
|
||||||
EFI_PEI_PPI_DESCRIPTOR *OldDescriptor;
|
EFI_PEI_PPI_DESCRIPTOR *OldDescriptor;
|
||||||
UINTN Index;
|
UINTN Index;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Locate old build-in Ffs2 EFI_PEI_FIRMWARE_VOLUME_PPI which
|
// Locate old build-in Ffs2 EFI_PEI_FIRMWARE_VOLUME_PPI which
|
||||||
// in flash.
|
// in flash.
|
||||||
//
|
//
|
||||||
Status = PeiServicesLocatePpi (
|
Status = PeiServicesLocatePpi (
|
||||||
&gEfiFirmwareFileSystem2Guid,
|
&gEfiFirmwareFileSystem2Guid,
|
||||||
0,
|
0,
|
||||||
&OldDescriptor,
|
&OldDescriptor,
|
||||||
&OldFfs2FvPpi
|
&OldFfs2FvPpi
|
||||||
);
|
);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Re-install the EFI_PEI_FIRMWARE_VOLUME_PPI for build-in Ffs2
|
// Re-install the EFI_PEI_FIRMWARE_VOLUME_PPI for build-in Ffs2
|
||||||
// which is shadowed from flash to permanent memory within PeiCore image.
|
// which is shadowed from flash to permanent memory within PeiCore image.
|
||||||
//
|
//
|
||||||
Status = PeiServicesReInstallPpi (OldDescriptor, &mPeiFfs2FvPpiList);
|
Status = PeiServicesReInstallPpi (OldDescriptor, &mPeiFfs2FvPpiList);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Fixup all FvPpi pointers for the implementation in flash to permanent memory.
|
// Fixup all FvPpi pointers for the implementation in flash to permanent memory.
|
||||||
//
|
//
|
||||||
for (Index = 0; Index < FixedPcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) {
|
for (Index = 0; Index < FixedPcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) {
|
||||||
if (PrivateData->Fv[Index].FvPpi == OldFfs2FvPpi) {
|
if (PrivateData->Fv[Index].FvPpi == OldFfs2FvPpi) {
|
||||||
PrivateData->Fv[Index].FvPpi = &mPeiFfs2FvPpi;
|
PrivateData->Fv[Index].FvPpi = &mPeiFfs2FvPpi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue