]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Include/Guid/TpmInstance.h
Add TPM2 implementation.
[mirror_edk2.git] / SecurityPkg / Include / Guid / TpmInstance.h
diff --git a/SecurityPkg/Include/Guid/TpmInstance.h b/SecurityPkg/Include/Guid/TpmInstance.h
new file mode 100644 (file)
index 0000000..27c727b
--- /dev/null
@@ -0,0 +1,38 @@
+/** @file\r
+  TPM instance guid, used for PcdTpmInstanceGuid.\r
+\r
+Copyright (c) 2013, 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __TPM_INSTANCE_GUID_H__\r
+#define __TPM_INSTANCE_GUID_H__\r
+\r
+#define TPM_DEVICE_INTERFACE_NONE  \\r
+  { 0x00000000, 0x0000, 0x0000, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }\r
+\r
+#define TPM_DEVICE_INTERFACE_TPM12  \\r
+  { 0x8b01e5b6, 0x4f19, 0x46e8, { 0xab, 0x93, 0x1c, 0x53, 0x67, 0x1b, 0x90, 0xcc } }\r
+\r
+#define TPM_DEVICE_INTERFACE_TPM20_DTPM  \\r
+  { 0x286bf25a, 0xc2c3, 0x408c, { 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17 } }\r
+\r
+extern EFI_GUID  gEfiTpmDeviceInstanceNoneGuid;\r
+extern EFI_GUID  gEfiTpmDeviceInstanceTpm12Guid;\r
+extern EFI_GUID  gEfiTpmDeviceInstanceTpm20DtpmGuid;\r
+\r
+\r
+#define TPM_DEVICE_SELECTED_GUID  \\r
+  { 0x7f4158d3, 0x74d, 0x456d, { 0x8c, 0xb2, 0x1, 0xf9, 0xc8, 0xf7, 0x9d, 0xaa } }\r
+\r
+extern EFI_GUID  gEfiTpmDeviceSelectedGuid;\r
+\r
+#endif\r
+\r