Set correctly FV format guid when install FV INFO PPI.
authorlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 10 Sep 2009 07:20:10 +0000 (07:20 +0000)
committerlgao4 <lgao4@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 10 Sep 2009 07:20:10 +0000 (07:20 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9254 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Core/Pei/FwVol/FwVol.c

index 2e78e51..54501f5 100644 (file)
@@ -281,8 +281,6 @@ PeiInitializeFv (
 \r
   PrivateData->AllFvCount = 1;\r
   PrivateData->AllFv[0] = (EFI_PEI_FV_HANDLE)PrivateData->Fv[0].FvHeader;\r
-\r
-\r
   //\r
   // Post a call-back for the FvInfoPPI services to expose\r
   // additional Fvs to PeiCore.\r
@@ -652,7 +650,7 @@ PeiFvFindNextVolume (
       //\r
       if (!Match) {\r
         PeiServicesInstallFvInfoPpi (\r
-          NULL,\r
+          &(((EFI_FIRMWARE_VOLUME_HEADER *)(UINTN)FvHob->BaseAddress)->FileSystemGuid),\r
           (VOID *)(UINTN)FvHob->BaseAddress,\r
           (UINT32)FvHob->Length,\r
           NULL,\r