]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/SecurityPkg.dec
SecurityPkg: Cache TPM interface type info
[mirror_edk2.git] / SecurityPkg / SecurityPkg.dec
index 497354634b9813252d381dcad8c5288833c4c3c7..60f1c0a0e353d8edb1720241f5dde2fa026cf3f4 100644 (file)
   # linked, and the value of this PCD should be got in module entrypoint.\r
   # @Prompt Hash Algorithm bitmap.\r
   gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|0xFFFFFFFF|UINT32|0x00010016\r
   # linked, and the value of this PCD should be got in module entrypoint.\r
   # @Prompt Hash Algorithm bitmap.\r
   gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|0xFFFFFFFF|UINT32|0x00010016\r
-  \r
+\r
+  ## This PCD indicates current active TPM interface type.\r
+  #  Accodingt to TCG PTP spec 1.3, there are 3 types defined in TPM2_PTP_INTERFACE_TYPE.<BR>\r
+  #  0x00 - FIFO interface as defined in TIS 1.3 is active.<BR>\r
+  #  0x01 - FIFO interface as defined in PTP for TPM 2.0 is active.<BR>\r
+  #  0x02 - CRB interface is active.<BR>\r
+  #  0xFF - Contains no current active TPM interface type.<BR>\r
+  #\r
+  # @Prompt current active TPM interface type.\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdActiveTpmInterfaceType|0xFF|UINT8|0x0001001E\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   SecurityPkgExtra.uni\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   SecurityPkgExtra.uni\r