1 /** @file
2   TCPA ACPI table definition.
3 
4 Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6 
7 **/
8 
9 #ifndef _TCPA_ACPI_H_
10 #define _TCPA_ACPI_H_
11 
12 #include <IndustryStandard/Acpi.h>
13 
14 #pragma pack (1)
15 
16 typedef struct _EFI_TCG_CLIENT_ACPI_TABLE {
17   EFI_ACPI_DESCRIPTION_HEADER       Header;
18   UINT16                            PlatformClass;
19   UINT32                            Laml;
20   UINT64                            Lasa;
21 } EFI_TCG_CLIENT_ACPI_TABLE;
22 
23 typedef struct _EFI_TCG_SERVER_ACPI_TABLE {
24   EFI_ACPI_DESCRIPTION_HEADER             Header;
25   UINT16                                  PlatformClass;
26   UINT16                                  Reserved0;
27   UINT64                                  Laml;
28   UINT64                                  Lasa;
29   UINT16                                  SpecRev;
30   UINT8                                   DeviceFlags;
31   UINT8                                   InterruptFlags;
32   UINT8                                   Gpe;
33   UINT8                                   Reserved1[3];
34   UINT32                                  GlobalSysInt;
35   EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE  BaseAddress;
36   UINT32                                  Reserved2;
37   EFI_ACPI_3_0_GENERIC_ADDRESS_STRUCTURE  ConfigAddress;
38   UINT8                                   PciSegNum;
39   UINT8                                   PciBusNum;
40   UINT8                                   PciDevNum;
41   UINT8                                   PciFuncNum;
42 } EFI_TCG_SERVER_ACPI_TABLE;
43 
44 //
45 // TCG Platform Type based on TCG ACPI Specification Version 1.00
46 //
47 #define TCG_PLATFORM_TYPE_CLIENT   0
48 #define TCG_PLATFORM_TYPE_SERVER   1
49 
50 #pragma pack ()
51 
52 #endif
53