Commit | Line | Data |
---|---|---|
2094c4d0 | 1 | /** @file\r |
2 | UEFI ACPI Data Table Definition.\r | |
3 | \r | |
6731c20f | 4 | Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>\r |
2094c4d0 | 5 | This program and the accompanying materials are licensed and made available under \r |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __UEFI_ACPI_DATA_TABLE_H__\r | |
16 | #define __UEFI_ACPI_DATA_TABLE_H__\r | |
17 | \r | |
18 | #include <IndustryStandard/Acpi.h>\r | |
19 | \r | |
20 | #pragma pack(1)\r | |
21 | typedef struct {\r | |
22 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
23 | GUID Identifier;\r | |
24 | UINT16 DataOffset;\r | |
25 | } EFI_ACPI_DATA_TABLE;\r | |
96aace82 JY |
26 | \r |
27 | typedef struct {\r | |
28 | EFI_ACPI_DATA_TABLE UefiAcpiDataTable;\r | |
29 | UINT32 SwSmiNumber;\r | |
30 | UINT64 BufferPtrAddress;\r | |
31 | } EFI_SMM_COMMUNICATION_ACPI_TABLE;\r | |
32 | \r | |
6731c20f HW |
33 | typedef struct {\r |
34 | EFI_SMM_COMMUNICATION_ACPI_TABLE UefiSmmCommunicationAcpiTable;\r | |
35 | EFI_ACPI_6_0_GENERIC_ADDRESS_STRUCTURE InvocationRegister;\r | |
36 | } EFI_SMM_COMMUNICATION_ACPI_TABLE_2;\r | |
37 | \r | |
96aace82 JY |
38 | ///\r |
39 | /// To avoid confusion in interpreting frames, the communication buffer should always \r | |
40 | /// begin with EFI_SMM_COMMUNICATE_HEADER\r | |
41 | ///\r | |
42 | typedef struct {\r | |
43 | ///\r | |
44 | /// Allows for disambiguation of the message format.\r | |
45 | ///\r | |
46 | EFI_GUID HeaderGuid;\r | |
47 | ///\r | |
48 | /// Describes the size of Data (in bytes) and does not include the size of the header.\r | |
49 | ///\r | |
50 | UINTN MessageLength;\r | |
51 | ///\r | |
52 | /// Designates an array of bytes that is MessageLength in size.\r | |
53 | ///\r | |
54 | UINT8 Data[1];\r | |
55 | } EFI_SMM_COMMUNICATE_HEADER;\r | |
56 | \r | |
2094c4d0 | 57 | #pragma pack()\r |
58 | \r | |
59 | #endif\r | |
60 | \r |