]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/IndustryStandard/TcpaAcpi.h
Add TPM2 related header file.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / TcpaAcpi.h
CommitLineData
2e61fb38
JY
1/** @file\r
2 TCPA ACPI table definition.\r
3\r
4Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>\r
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _TCPA_ACPI_H_\r
16#define _TCPA_ACPI_H_\r
17\r
18#include <IndustryStandard/Acpi.h>\r
19\r
20#pragma pack (1)\r
21\r
22typedef struct _EFI_TCG_CLIENT_ACPI_TABLE {\r
23 EFI_ACPI_DESCRIPTION_HEADER Header;\r
24 UINT16 PlatformClass;\r
25 UINT32 Laml;\r
26 UINT64 Lasa;\r
27} EFI_TCG_CLIENT_ACPI_TABLE;\r
28\r
29typedef struct _EFI_TCG_SERVER_ACPI_TABLE {\r
30 EFI_ACPI_DESCRIPTION_HEADER Header;\r
31 UINT16 PlatformClass;\r
32 UINT16 Reserved0;\r
33 UINT64 Laml;\r
34 UINT64 Lasa;\r
35 UINT16 SpecRev;\r
36 UINT8 DeviceFlags;\r
37 UINT8 InterruptFlags;\r
38 UINT8 Gpe;\r
39 UINT8 Reserved1[3];\r
40 UINT32 GlobalSysInt;\r
41 EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE BaseAddress;\r
42 UINT32 Reserved2;\r
43 EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE ConfigAddress;\r
44 UINT8 PciSegNum;\r
45 UINT8 PciBusNum;\r
46 UINT8 PciDevNum;\r
47 UINT8 PciFuncNum;\r
48} EFI_TCG_SERVER_ACPI_TABLE;\r
49\r
50//\r
51// TCG Platform Type based on TCG ACPI Specification Version 1.00\r
52//\r
53#define TCG_PLATFORM_TYPE_CLIENT 0\r
54#define TCG_PLATFORM_TYPE_SERVER 1\r
55\r
56#pragma pack ()\r
57\r
58#endif\r