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