From 7ec939170c9e908444e23891d11ce2919de637a5 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 3 Dec 2009 02:51:50 +0000 Subject: Remove the tab characters. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9509 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 2 +- MdeModulePkg/Core/Pei/FwVol/FwVol.c | 64 +++++++++++++-------------- 2 files changed, 33 insertions(+), 33 deletions(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index f671c18..7196c94 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -722,7 +722,7 @@ InitializeDispatcherData ( PrivateData->PeimDispatcherReenter = FALSE; PeiInitializeFv (PrivateData, SecCoreData); } else { - PeiReinitializeFv (PrivateData); + PeiReinitializeFv (PrivateData); } return; diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index c684b94..813eff5 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -1388,37 +1388,37 @@ PeiReinitializeFv ( IN PEI_CORE_INSTANCE *PrivateData ) { - VOID *OldFfs2FvPpi; - EFI_PEI_PPI_DESCRIPTOR *OldDescriptor; - UINTN Index; - EFI_STATUS Status; - - // - // Locate old build-in Ffs2 EFI_PEI_FIRMWARE_VOLUME_PPI which - // in flash. - // - Status = PeiServicesLocatePpi ( - &gEfiFirmwareFileSystem2Guid, - 0, - &OldDescriptor, - &OldFfs2FvPpi - ); - ASSERT_EFI_ERROR (Status); - - // - // Re-install the EFI_PEI_FIRMWARE_VOLUME_PPI for build-in Ffs2 - // which is shadowed from flash to permanent memory within PeiCore image. - // - Status = PeiServicesReInstallPpi (OldDescriptor, &mPeiFfs2FvPpiList); - ASSERT_EFI_ERROR (Status); - - // - // Fixup all FvPpi pointers for the implementation in flash to permanent memory. - // - for (Index = 0; Index < FixedPcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) { - if (PrivateData->Fv[Index].FvPpi == OldFfs2FvPpi) { - PrivateData->Fv[Index].FvPpi = &mPeiFfs2FvPpi; - } - } + VOID *OldFfs2FvPpi; + EFI_PEI_PPI_DESCRIPTOR *OldDescriptor; + UINTN Index; + EFI_STATUS Status; + + // + // Locate old build-in Ffs2 EFI_PEI_FIRMWARE_VOLUME_PPI which + // in flash. + // + Status = PeiServicesLocatePpi ( + &gEfiFirmwareFileSystem2Guid, + 0, + &OldDescriptor, + &OldFfs2FvPpi + ); + ASSERT_EFI_ERROR (Status); + + // + // Re-install the EFI_PEI_FIRMWARE_VOLUME_PPI for build-in Ffs2 + // which is shadowed from flash to permanent memory within PeiCore image. + // + Status = PeiServicesReInstallPpi (OldDescriptor, &mPeiFfs2FvPpiList); + ASSERT_EFI_ERROR (Status); + + // + // Fixup all FvPpi pointers for the implementation in flash to permanent memory. + // + for (Index = 0; Index < FixedPcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) { + if (PrivateData->Fv[Index].FvPpi == OldFfs2FvPpi) { + PrivateData->Fv[Index].FvPpi = &mPeiFfs2FvPpi; + } + } } -- cgit v1.1