summaryrefslogtreecommitdiffstats
path: root/SignedCapsulePkg
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2017-03-28 14:11:24 +0800
committerLiming Gao <liming.gao@intel.com>2017-03-29 12:28:14 +0800
commit2ed235fc296b17ead0bebd670aa5bc891cf086cc (patch)
tree63de9b282edff027b679c82d70d160681aaaaa0e /SignedCapsulePkg
parent87d97b6a771a5f81277732d5d9985aa9d14ae63f (diff)
downloadedk2-2ed235fc296b17ead0bebd670aa5bc891cf086cc.tar.gz
edk2-2ed235fc296b17ead0bebd670aa5bc891cf086cc.tar.bz2
edk2-2ed235fc296b17ead0bebd670aa5bc891cf086cc.zip
SignedCapsulePkg: Update RecoveryModuleLoadPei to report the correct FvInfo
Update logic to install FvInfo PPI with its file system guid. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'SignedCapsulePkg')
-rw-r--r--SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
index c8c5ba0423..c22e3a487f 100644
--- a/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
+++ b/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/RecoveryModuleLoadPei.c
@@ -9,7 +9,7 @@
ProcessRecoveryCapsule(), ProcessFmpCapsuleImage(), ProcessRecoveryImage(),
ValidateFmpCapsule() will receive untrusted input and do basic validation.
-Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -467,7 +467,7 @@ CreateHobForRecoveryCapsule (
DEBUG((DEBUG_INFO, "BuildFvHob (FV in recovery) - 0x%lx - 0x%lx\n", (UINT64)(UINTN)FvHeader, FvHeader->FvLength));
PeiServicesInstallFvInfoPpi(
- NULL,
+ &FvHeader->FileSystemGuid,
(VOID *)FvHeader,
(UINT32)FvHeader->FvLength,
NULL,