]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/TpmTis.h
SecurityPkg:Tpm2DeviceLibDTpm: Support TPM command cancel
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / TpmTis.h
index 519fa794d122eac6e74e929625e14b200aa81cb5..f25ca2559380ef55cffb81f12f780988a76519b5 100644 (file)
@@ -2,7 +2,7 @@
   TPM Interface Specification definition.\r
   It covers both TPM1.2 and TPM2.0.\r
 \r
-Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2016 - 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
@@ -142,6 +142,10 @@ typedef TIS_PC_REGISTERS  *TIS_PC_REGISTERS_PTR;
 ///\r
 #define TIS_PC_ACC_ESTABLISH        BIT0\r
 \r
+///\r
+/// Write a 1 to this bit to notify TPM to cancel currently executing command\r
+///\r
+#define TIS_PC_STS_CANCEL           BIT24\r
 ///\r
 /// This field indicates that STS_DATA and STS_EXPECT are valid\r
 ///\r
@@ -180,4 +184,4 @@ typedef TIS_PC_REGISTERS  *TIS_PC_REGISTERS_PTR;
 #define TIS_TIMEOUT_C               (750  * 1000)  // 750ms\r
 #define TIS_TIMEOUT_D               (750  * 1000)  // 750ms\r
 \r
-#endif
\ No newline at end of file
+#endif\r