SecurityPkg: Cache TPM interface type info
Cache TPM interface type info to avoid excessive interface ID register read Cc: Long Qin <qin.long@intel.com> Cc: Yao Jiewen <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chao Zhang <chao.b.zhang@intel.com> Reviewed-by: Long Qin <qin.long@intel.com>
This commit is contained in:
@@ -463,6 +463,16 @@
|
||||
# linked, and the value of this PCD should be got in module entrypoint.
|
||||
# @Prompt Hash Algorithm bitmap.
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|0xFFFFFFFF|UINT32|0x00010016
|
||||
|
||||
|
||||
## This PCD indicates current active TPM interface type.
|
||||
# Accodingt to TCG PTP spec 1.3, there are 3 types defined in TPM2_PTP_INTERFACE_TYPE.<BR>
|
||||
# 0x00 - FIFO interface as defined in TIS 1.3 is active.<BR>
|
||||
# 0x01 - FIFO interface as defined in PTP for TPM 2.0 is active.<BR>
|
||||
# 0x02 - CRB interface is active.<BR>
|
||||
# 0xFF - Contains no current active TPM interface type.<BR>
|
||||
#
|
||||
# @Prompt current active TPM interface type.
|
||||
gEfiSecurityPkgTokenSpaceGuid.PcdActiveTpmInterfaceType|0xFF|UINT8|0x0001001E
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
SecurityPkgExtra.uni
|
||||
|
Reference in New Issue
Block a user