summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2016-09-14 16:54:50 +0800
committerStar Zeng <star.zeng@intel.com>2016-09-21 18:20:20 +0800
commit5919a9600e07b4700b54a5b47ae3991aad0e883c (patch)
treebbadbbfb2b86280fe5befe96af52c21f35b18c04 /SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
parent07cdba18cd974d818556d752facfbf35a8d0f012 (diff)
downloadedk2-5919a9600e07b4700b54a5b47ae3991aad0e883c.tar.gz
edk2-5919a9600e07b4700b54a5b47ae3991aad0e883c.tar.bz2
edk2-5919a9600e07b4700b54a5b47ae3991aad0e883c.zip
SecurityPkg/TPM2: Sync PcrAllocations and PcrMask
Current TCG2 implementation will set Tpm2HashMask PCD value according to TPM2 PCR bank. However, there might be misconfiguration in BIOS build phase. The enhanced logic makes sure that the current PCR allocations, the TPM supported PCRs, and the PcdTpm2HashMask are all in agreement. Cc: Chao B Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf')
-rw-r--r--SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf3
1 files changed, 2 insertions, 1 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
index 007ce918ed..3477d8206a 100644
--- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
+++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
@@ -3,7 +3,7 @@
#
# This module will initialize TPM device, measure reported FVs and BIOS version.
#
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2016, 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
@@ -53,6 +53,7 @@
MemoryAllocationLib
ReportStatusCodeLib
Tcg2PhysicalPresenceLib
+ ResetSystemLib
[Guids]
gTcgEventEntryHobGuid ## PRODUCES ## HOB