From c79351059ee7ee24ebed312413cb5e57076c5b56 Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Fri, 11 Oct 2013 03:54:13 +0000 Subject: 1. Enable use-cases in PEI using SecurityPPI co-equal to the use-cases in DXE using the Security Arch Protocol 2. Add support to find section by instance rather than only 0 at PEI phase. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14763 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/Tcg/TcgPei/TcgPei.c | 6 ++++++ SecurityPkg/Tcg/TcgPei/TcgPei.inf | 1 + 2 files changed, 7 insertions(+) (limited to 'SecurityPkg') diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.c b/SecurityPkg/Tcg/TcgPei/TcgPei.c index 7ff869d0fc..ae905f7653 100644 --- a/SecurityPkg/Tcg/TcgPei/TcgPei.c +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.c @@ -17,6 +17,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include +#include #include #include #include @@ -122,6 +123,11 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList[] = { &gEfiPeiFirmwareVolumeInfoPpiGuid, FirmwareVolmeInfoPpiNotifyCallback }, + { + EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK, + &gEfiPeiFirmwareVolumeInfo2PpiGuid, + FirmwareVolmeInfoPpiNotifyCallback + }, { (EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST), &gEfiEndOfPeiSignalPpiGuid, diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.inf b/SecurityPkg/Tcg/TcgPei/TcgPei.inf index d022962478..48a3e64362 100644 --- a/SecurityPkg/Tcg/TcgPei/TcgPei.inf +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.inf @@ -57,6 +57,7 @@ [Ppis] gPeiLockPhysicalPresencePpiGuid gEfiPeiFirmwareVolumeInfoPpiGuid + gEfiPeiFirmwareVolumeInfo2PpiGuid gEfiPeiFirmwareVolumeInfoMeasurementExcludedPpiGuid gPeiTpmInitializedPpiGuid gEfiEndOfPeiSignalPpiGuid -- cgit v1.2.3