]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Include/Library/Tpm2DeviceLib.h
SecurityPkg: Cache TPM interface type info
[mirror_edk2.git] / SecurityPkg / Include / Library / Tpm2DeviceLib.h
index 67f158ef039c404a8bdba292cf070bc2b9d21d1f..f072a2492549aa6590a9e5c2070642fa8f64e352 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This library abstract how to access TPM2 hardware device.\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>\r
+Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -17,6 +17,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <Uefi.h>\r
 \r
+//\r
+// Used in PcdActiveTpmInterfaceType to identify TPM interface type\r
+//\r
+typedef enum {\r
+  Tpm2PtpInterfaceTis,\r
+  Tpm2PtpInterfaceFifo,\r
+  Tpm2PtpInterfaceCrb,\r
+  Tpm2PtpInterfaceMax,\r
+} TPM2_PTP_INTERFACE_TYPE;\r
+\r
 /**\r
   This service enables the sending of commands to the TPM2.\r
 \r