summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/SecurityPkg.dec
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2018-05-08 14:51:57 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2018-06-25 10:55:08 +0800
commitf15cb995bb3880b77e15afe6facd3da05e599a17 (patch)
tree8a160b4c8324921198c45c6adac6e1f43933de61 /SecurityPkg/SecurityPkg.dec
parent796ef9da06bf1ab81b0b55f091630aa50cf9dfe0 (diff)
downloadedk2-f15cb995bb3880b77e15afe6facd3da05e599a17.tar.gz
edk2-f15cb995bb3880b77e15afe6facd3da05e599a17.tar.bz2
edk2-f15cb995bb3880b77e15afe6facd3da05e599a17.zip
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>
Diffstat (limited to 'SecurityPkg/SecurityPkg.dec')
-rw-r--r--SecurityPkg/SecurityPkg.dec12
1 files changed, 11 insertions, 1 deletions
diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec
index 497354634b..60f1c0a0e3 100644
--- a/SecurityPkg/SecurityPkg.dec
+++ b/SecurityPkg/SecurityPkg.dec
@@ -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