summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/FvReportPei/FvReportPei.h
diff options
context:
space:
mode:
authorUmang Patel <umang.patel@intel.com>2023-03-21 17:02:34 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-03-27 16:25:51 +0000
commit144028626e0072c2c4fdfcc0fe1b72de319bdd2f (patch)
tree6d5ed63c68c45920af4347688d7d66daf00bd49f /SecurityPkg/FvReportPei/FvReportPei.h
parentc8e631588b9591489d0219db1d14664e10367ecd (diff)
downloadedk2-144028626e0072c2c4fdfcc0fe1b72de319bdd2f.tar.gz
edk2-144028626e0072c2c4fdfcc0fe1b72de319bdd2f.tar.bz2
edk2-144028626e0072c2c4fdfcc0fe1b72de319bdd2f.zip
SecurityPkg/FvReportPei: Use FirmwareVolumeShadowPpi
If FirmwareVolumeShadow PPI is available, then use it to shadow FVs to memory. Otherwise fallback to CopyMem(). Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Patel Umang <umang.patel@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'SecurityPkg/FvReportPei/FvReportPei.h')
-rw-r--r--SecurityPkg/FvReportPei/FvReportPei.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/SecurityPkg/FvReportPei/FvReportPei.h b/SecurityPkg/FvReportPei/FvReportPei.h
index 92504a3c51..07ffb2f576 100644
--- a/SecurityPkg/FvReportPei/FvReportPei.h
+++ b/SecurityPkg/FvReportPei/FvReportPei.h
@@ -14,6 +14,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <IndustryStandard/Tpm20.h>
#include <Ppi/FirmwareVolumeInfoStoredHashFv.h>
+#include <Ppi/FirmwareVolumeShadowPpi.h>
#include <Library/PeiServicesLib.h>
#include <Library/PcdLib.h>