diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-10 07:20:10 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-09-10 07:20:10 +0000 |
commit | ed5ac057bf96aded5612c6333918953238088de5 (patch) | |
tree | 3afb8a1182f60ffd3ad06ec60c78e6692a036475 | |
parent | eaa8a2348676f92f766778ea11e293412923f24e (diff) | |
download | edk2-ed5ac057bf96aded5612c6333918953238088de5.zip edk2-ed5ac057bf96aded5612c6333918953238088de5.tar.gz edk2-ed5ac057bf96aded5612c6333918953238088de5.tar.bz2 |
Set correctly FV format guid when install FV INFO PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9254 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Core/Pei/FwVol/FwVol.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/MdeModulePkg/Core/Pei/FwVol/FwVol.c b/MdeModulePkg/Core/Pei/FwVol/FwVol.c index 2e78e51..54501f5 100644 --- a/MdeModulePkg/Core/Pei/FwVol/FwVol.c +++ b/MdeModulePkg/Core/Pei/FwVol/FwVol.c @@ -281,8 +281,6 @@ PeiInitializeFv ( PrivateData->AllFvCount = 1;
PrivateData->AllFv[0] = (EFI_PEI_FV_HANDLE)PrivateData->Fv[0].FvHeader;
-
-
//
// Post a call-back for the FvInfoPPI services to expose
// additional Fvs to PeiCore.
@@ -652,7 +650,7 @@ PeiFvFindNextVolume ( //
if (!Match) {
PeiServicesInstallFvInfoPpi (
- NULL,
+ &(((EFI_FIRMWARE_VOLUME_HEADER *)(UINTN)FvHob->BaseAddress)->FileSystemGuid),
(VOID *)(UINTN)FvHob->BaseAddress,
(UINT32)FvHob->Length,
NULL,
|