actbl3.h revision 1.1.1.1.4.2 1 1.1.1.1.4.2 rmind /******************************************************************************
2 1.1.1.1.4.2 rmind *
3 1.1.1.1.4.2 rmind * Name: actbl3.h - ACPI Table Definitions
4 1.1.1.1.4.2 rmind *
5 1.1.1.1.4.2 rmind *****************************************************************************/
6 1.1.1.1.4.2 rmind
7 1.1.1.1.4.2 rmind /*
8 1.1.1.1.4.2 rmind * Copyright (C) 2000 - 2013, Intel Corp.
9 1.1.1.1.4.2 rmind * All rights reserved.
10 1.1.1.1.4.2 rmind *
11 1.1.1.1.4.2 rmind * Redistribution and use in source and binary forms, with or without
12 1.1.1.1.4.2 rmind * modification, are permitted provided that the following conditions
13 1.1.1.1.4.2 rmind * are met:
14 1.1.1.1.4.2 rmind * 1. Redistributions of source code must retain the above copyright
15 1.1.1.1.4.2 rmind * notice, this list of conditions, and the following disclaimer,
16 1.1.1.1.4.2 rmind * without modification.
17 1.1.1.1.4.2 rmind * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.1.1.1.4.2 rmind * substantially similar to the "NO WARRANTY" disclaimer below
19 1.1.1.1.4.2 rmind * ("Disclaimer") and any redistribution must be conditioned upon
20 1.1.1.1.4.2 rmind * including a substantially similar Disclaimer requirement for further
21 1.1.1.1.4.2 rmind * binary redistribution.
22 1.1.1.1.4.2 rmind * 3. Neither the names of the above-listed copyright holders nor the names
23 1.1.1.1.4.2 rmind * of any contributors may be used to endorse or promote products derived
24 1.1.1.1.4.2 rmind * from this software without specific prior written permission.
25 1.1.1.1.4.2 rmind *
26 1.1.1.1.4.2 rmind * Alternatively, this software may be distributed under the terms of the
27 1.1.1.1.4.2 rmind * GNU General Public License ("GPL") version 2 as published by the Free
28 1.1.1.1.4.2 rmind * Software Foundation.
29 1.1.1.1.4.2 rmind *
30 1.1.1.1.4.2 rmind * NO WARRANTY
31 1.1.1.1.4.2 rmind * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.1.1.1.4.2 rmind * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.1.1.1.4.2 rmind * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 1.1.1.1.4.2 rmind * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.1.1.1.4.2 rmind * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.1.1.1.4.2 rmind * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.1.1.1.4.2 rmind * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.1.1.1.4.2 rmind * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.1.1.1.4.2 rmind * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.1.1.1.4.2 rmind * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.1.1.1.4.2 rmind * POSSIBILITY OF SUCH DAMAGES.
42 1.1.1.1.4.2 rmind */
43 1.1.1.1.4.2 rmind
44 1.1.1.1.4.2 rmind #ifndef __ACTBL3_H__
45 1.1.1.1.4.2 rmind #define __ACTBL3_H__
46 1.1.1.1.4.2 rmind
47 1.1.1.1.4.2 rmind
48 1.1.1.1.4.2 rmind /*******************************************************************************
49 1.1.1.1.4.2 rmind *
50 1.1.1.1.4.2 rmind * Additional ACPI Tables (3)
51 1.1.1.1.4.2 rmind *
52 1.1.1.1.4.2 rmind * These tables are not consumed directly by the ACPICA subsystem, but are
53 1.1.1.1.4.2 rmind * included here to support device drivers and the AML disassembler.
54 1.1.1.1.4.2 rmind *
55 1.1.1.1.4.2 rmind * The tables in this file are fully defined within the ACPI specification.
56 1.1.1.1.4.2 rmind *
57 1.1.1.1.4.2 rmind ******************************************************************************/
58 1.1.1.1.4.2 rmind
59 1.1.1.1.4.2 rmind
60 1.1.1.1.4.2 rmind /*
61 1.1.1.1.4.2 rmind * Values for description table header signatures for tables defined in this
62 1.1.1.1.4.2 rmind * file. Useful because they make it more difficult to inadvertently type in
63 1.1.1.1.4.2 rmind * the wrong signature.
64 1.1.1.1.4.2 rmind */
65 1.1.1.1.4.2 rmind #define ACPI_SIG_BGRT "BGRT" /* Boot Graphics Resource Table */
66 1.1.1.1.4.2 rmind #define ACPI_SIG_DRTM "DRTM" /* Dynamic Root of Trust for Measurement table */
67 1.1.1.1.4.2 rmind #define ACPI_SIG_FPDT "FPDT" /* Firmware Performance Data Table */
68 1.1.1.1.4.2 rmind #define ACPI_SIG_GTDT "GTDT" /* Generic Timer Description Table */
69 1.1.1.1.4.2 rmind #define ACPI_SIG_MPST "MPST" /* Memory Power State Table */
70 1.1.1.1.4.2 rmind #define ACPI_SIG_PCCT "PCCT" /* Platform Communications Channel Table */
71 1.1.1.1.4.2 rmind #define ACPI_SIG_PMTT "PMTT" /* Platform Memory Topology Table */
72 1.1.1.1.4.2 rmind #define ACPI_SIG_RASF "RASF" /* RAS Feature table */
73 1.1.1.1.4.2 rmind #define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */
74 1.1.1.1.4.2 rmind
75 1.1.1.1.4.2 rmind #define ACPI_SIG_S3PT "S3PT" /* S3 Performance (sub)Table */
76 1.1.1.1.4.2 rmind #define ACPI_SIG_PCCS "PCC" /* PCC Shared Memory Region */
77 1.1.1.1.4.2 rmind
78 1.1.1.1.4.2 rmind /* Reserved table signatures */
79 1.1.1.1.4.2 rmind
80 1.1.1.1.4.2 rmind #define ACPI_SIG_MATR "MATR" /* Memory Address Translation Table */
81 1.1.1.1.4.2 rmind #define ACPI_SIG_MSDM "MSDM" /* Microsoft Data Management Table */
82 1.1.1.1.4.2 rmind #define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */
83 1.1.1.1.4.2 rmind
84 1.1.1.1.4.2 rmind /*
85 1.1.1.1.4.2 rmind * All tables must be byte-packed to match the ACPI specification, since
86 1.1.1.1.4.2 rmind * the tables are provided by the system BIOS.
87 1.1.1.1.4.2 rmind */
88 1.1.1.1.4.2 rmind #pragma pack(1)
89 1.1.1.1.4.2 rmind
90 1.1.1.1.4.2 rmind /*
91 1.1.1.1.4.2 rmind * Note: C bitfields are not used for this reason:
92 1.1.1.1.4.2 rmind *
93 1.1.1.1.4.2 rmind * "Bitfields are great and easy to read, but unfortunately the C language
94 1.1.1.1.4.2 rmind * does not specify the layout of bitfields in memory, which means they are
95 1.1.1.1.4.2 rmind * essentially useless for dealing with packed data in on-disk formats or
96 1.1.1.1.4.2 rmind * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
97 1.1.1.1.4.2 rmind * this decision was a design error in C. Ritchie could have picked an order
98 1.1.1.1.4.2 rmind * and stuck with it." Norman Ramsey.
99 1.1.1.1.4.2 rmind * See http://stackoverflow.com/a/1053662/41661
100 1.1.1.1.4.2 rmind */
101 1.1.1.1.4.2 rmind
102 1.1.1.1.4.2 rmind
103 1.1.1.1.4.2 rmind /*******************************************************************************
104 1.1.1.1.4.2 rmind *
105 1.1.1.1.4.2 rmind * BGRT - Boot Graphics Resource Table (ACPI 5.0)
106 1.1.1.1.4.2 rmind * Version 1
107 1.1.1.1.4.2 rmind *
108 1.1.1.1.4.2 rmind ******************************************************************************/
109 1.1.1.1.4.2 rmind
110 1.1.1.1.4.2 rmind typedef struct acpi_table_bgrt
111 1.1.1.1.4.2 rmind {
112 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
113 1.1.1.1.4.2 rmind UINT16 Version;
114 1.1.1.1.4.2 rmind UINT8 Status;
115 1.1.1.1.4.2 rmind UINT8 ImageType;
116 1.1.1.1.4.2 rmind UINT64 ImageAddress;
117 1.1.1.1.4.2 rmind UINT32 ImageOffsetX;
118 1.1.1.1.4.2 rmind UINT32 ImageOffsetY;
119 1.1.1.1.4.2 rmind
120 1.1.1.1.4.2 rmind } ACPI_TABLE_BGRT;
121 1.1.1.1.4.2 rmind
122 1.1.1.1.4.2 rmind
123 1.1.1.1.4.2 rmind /*******************************************************************************
124 1.1.1.1.4.2 rmind *
125 1.1.1.1.4.2 rmind * DRTM - Dynamic Root of Trust for Measurement table
126 1.1.1.1.4.2 rmind *
127 1.1.1.1.4.2 rmind ******************************************************************************/
128 1.1.1.1.4.2 rmind
129 1.1.1.1.4.2 rmind typedef struct acpi_table_drtm
130 1.1.1.1.4.2 rmind {
131 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
132 1.1.1.1.4.2 rmind UINT64 EntryBaseAddress;
133 1.1.1.1.4.2 rmind UINT64 EntryLength;
134 1.1.1.1.4.2 rmind UINT32 EntryAddress32;
135 1.1.1.1.4.2 rmind UINT64 EntryAddress64;
136 1.1.1.1.4.2 rmind UINT64 ExitAddress;
137 1.1.1.1.4.2 rmind UINT64 LogAreaAddress;
138 1.1.1.1.4.2 rmind UINT32 LogAreaLength;
139 1.1.1.1.4.2 rmind UINT64 ArchDependentAddress;
140 1.1.1.1.4.2 rmind UINT32 Flags;
141 1.1.1.1.4.2 rmind
142 1.1.1.1.4.2 rmind } ACPI_TABLE_DRTM;
143 1.1.1.1.4.2 rmind
144 1.1.1.1.4.2 rmind /* 1) Validated Tables List */
145 1.1.1.1.4.2 rmind
146 1.1.1.1.4.2 rmind typedef struct acpi_drtm_vtl_list
147 1.1.1.1.4.2 rmind {
148 1.1.1.1.4.2 rmind UINT32 ValidatedTableListCount;
149 1.1.1.1.4.2 rmind
150 1.1.1.1.4.2 rmind } ACPI_DRTM_VTL_LIST;
151 1.1.1.1.4.2 rmind
152 1.1.1.1.4.2 rmind /* 2) Resources List */
153 1.1.1.1.4.2 rmind
154 1.1.1.1.4.2 rmind typedef struct acpi_drtm_resource_list
155 1.1.1.1.4.2 rmind {
156 1.1.1.1.4.2 rmind UINT32 ResourceListCount;
157 1.1.1.1.4.2 rmind
158 1.1.1.1.4.2 rmind } ACPI_DRTM_RESOURCE_LIST;
159 1.1.1.1.4.2 rmind
160 1.1.1.1.4.2 rmind /* 3) Platform-specific Identifiers List */
161 1.1.1.1.4.2 rmind
162 1.1.1.1.4.2 rmind typedef struct acpi_drtm_id_list
163 1.1.1.1.4.2 rmind {
164 1.1.1.1.4.2 rmind UINT32 IdListCount;
165 1.1.1.1.4.2 rmind
166 1.1.1.1.4.2 rmind } ACPI_DRTM_ID_LIST;
167 1.1.1.1.4.2 rmind
168 1.1.1.1.4.2 rmind
169 1.1.1.1.4.2 rmind /*******************************************************************************
170 1.1.1.1.4.2 rmind *
171 1.1.1.1.4.2 rmind * FPDT - Firmware Performance Data Table (ACPI 5.0)
172 1.1.1.1.4.2 rmind * Version 1
173 1.1.1.1.4.2 rmind *
174 1.1.1.1.4.2 rmind ******************************************************************************/
175 1.1.1.1.4.2 rmind
176 1.1.1.1.4.2 rmind typedef struct acpi_table_fpdt
177 1.1.1.1.4.2 rmind {
178 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
179 1.1.1.1.4.2 rmind
180 1.1.1.1.4.2 rmind } ACPI_TABLE_FPDT;
181 1.1.1.1.4.2 rmind
182 1.1.1.1.4.2 rmind
183 1.1.1.1.4.2 rmind /* FPDT subtable header */
184 1.1.1.1.4.2 rmind
185 1.1.1.1.4.2 rmind typedef struct acpi_fpdt_header
186 1.1.1.1.4.2 rmind {
187 1.1.1.1.4.2 rmind UINT16 Type;
188 1.1.1.1.4.2 rmind UINT8 Length;
189 1.1.1.1.4.2 rmind UINT8 Revision;
190 1.1.1.1.4.2 rmind
191 1.1.1.1.4.2 rmind } ACPI_FPDT_HEADER;
192 1.1.1.1.4.2 rmind
193 1.1.1.1.4.2 rmind /* Values for Type field above */
194 1.1.1.1.4.2 rmind
195 1.1.1.1.4.2 rmind enum AcpiFpdtType
196 1.1.1.1.4.2 rmind {
197 1.1.1.1.4.2 rmind ACPI_FPDT_TYPE_BOOT = 0,
198 1.1.1.1.4.2 rmind ACPI_FPDT_TYPE_S3PERF = 1
199 1.1.1.1.4.2 rmind };
200 1.1.1.1.4.2 rmind
201 1.1.1.1.4.2 rmind
202 1.1.1.1.4.2 rmind /*
203 1.1.1.1.4.2 rmind * FPDT subtables
204 1.1.1.1.4.2 rmind */
205 1.1.1.1.4.2 rmind
206 1.1.1.1.4.2 rmind /* 0: Firmware Basic Boot Performance Record */
207 1.1.1.1.4.2 rmind
208 1.1.1.1.4.2 rmind typedef struct acpi_fpdt_boot
209 1.1.1.1.4.2 rmind {
210 1.1.1.1.4.2 rmind ACPI_FPDT_HEADER Header;
211 1.1.1.1.4.2 rmind UINT8 Reserved[4];
212 1.1.1.1.4.2 rmind UINT64 ResetEnd;
213 1.1.1.1.4.2 rmind UINT64 LoadStart;
214 1.1.1.1.4.2 rmind UINT64 StartupStart;
215 1.1.1.1.4.2 rmind UINT64 ExitServicesEntry;
216 1.1.1.1.4.2 rmind UINT64 ExitServicesExit;
217 1.1.1.1.4.2 rmind
218 1.1.1.1.4.2 rmind } ACPI_FPDT_BOOT;
219 1.1.1.1.4.2 rmind
220 1.1.1.1.4.2 rmind
221 1.1.1.1.4.2 rmind /* 1: S3 Performance Table Pointer Record */
222 1.1.1.1.4.2 rmind
223 1.1.1.1.4.2 rmind typedef struct acpi_fpdt_s3pt_ptr
224 1.1.1.1.4.2 rmind {
225 1.1.1.1.4.2 rmind ACPI_FPDT_HEADER Header;
226 1.1.1.1.4.2 rmind UINT8 Reserved[4];
227 1.1.1.1.4.2 rmind UINT64 Address;
228 1.1.1.1.4.2 rmind
229 1.1.1.1.4.2 rmind } ACPI_FPDT_S3PT_PTR;
230 1.1.1.1.4.2 rmind
231 1.1.1.1.4.2 rmind
232 1.1.1.1.4.2 rmind /*
233 1.1.1.1.4.2 rmind * S3PT - S3 Performance Table. This table is pointed to by the
234 1.1.1.1.4.2 rmind * FPDT S3 Pointer Record above.
235 1.1.1.1.4.2 rmind */
236 1.1.1.1.4.2 rmind typedef struct acpi_table_s3pt
237 1.1.1.1.4.2 rmind {
238 1.1.1.1.4.2 rmind UINT8 Signature[4]; /* "S3PT" */
239 1.1.1.1.4.2 rmind UINT32 Length;
240 1.1.1.1.4.2 rmind
241 1.1.1.1.4.2 rmind } ACPI_TABLE_S3PT;
242 1.1.1.1.4.2 rmind
243 1.1.1.1.4.2 rmind
244 1.1.1.1.4.2 rmind /*
245 1.1.1.1.4.2 rmind * S3PT Subtables
246 1.1.1.1.4.2 rmind */
247 1.1.1.1.4.2 rmind typedef struct acpi_s3pt_header
248 1.1.1.1.4.2 rmind {
249 1.1.1.1.4.2 rmind UINT16 Type;
250 1.1.1.1.4.2 rmind UINT8 Length;
251 1.1.1.1.4.2 rmind UINT8 Revision;
252 1.1.1.1.4.2 rmind
253 1.1.1.1.4.2 rmind } ACPI_S3PT_HEADER;
254 1.1.1.1.4.2 rmind
255 1.1.1.1.4.2 rmind /* Values for Type field above */
256 1.1.1.1.4.2 rmind
257 1.1.1.1.4.2 rmind enum AcpiS3ptType
258 1.1.1.1.4.2 rmind {
259 1.1.1.1.4.2 rmind ACPI_S3PT_TYPE_RESUME = 0,
260 1.1.1.1.4.2 rmind ACPI_S3PT_TYPE_SUSPEND = 1
261 1.1.1.1.4.2 rmind };
262 1.1.1.1.4.2 rmind
263 1.1.1.1.4.2 rmind typedef struct acpi_s3pt_resume
264 1.1.1.1.4.2 rmind {
265 1.1.1.1.4.2 rmind ACPI_S3PT_HEADER Header;
266 1.1.1.1.4.2 rmind UINT32 ResumeCount;
267 1.1.1.1.4.2 rmind UINT64 FullResume;
268 1.1.1.1.4.2 rmind UINT64 AverageResume;
269 1.1.1.1.4.2 rmind
270 1.1.1.1.4.2 rmind } ACPI_S3PT_RESUME;
271 1.1.1.1.4.2 rmind
272 1.1.1.1.4.2 rmind typedef struct acpi_s3pt_suspend
273 1.1.1.1.4.2 rmind {
274 1.1.1.1.4.2 rmind ACPI_S3PT_HEADER Header;
275 1.1.1.1.4.2 rmind UINT64 SuspendStart;
276 1.1.1.1.4.2 rmind UINT64 SuspendEnd;
277 1.1.1.1.4.2 rmind
278 1.1.1.1.4.2 rmind } ACPI_S3PT_SUSPEND;
279 1.1.1.1.4.2 rmind
280 1.1.1.1.4.2 rmind
281 1.1.1.1.4.2 rmind /*******************************************************************************
282 1.1.1.1.4.2 rmind *
283 1.1.1.1.4.2 rmind * GTDT - Generic Timer Description Table (ACPI 5.0)
284 1.1.1.1.4.2 rmind * Version 1
285 1.1.1.1.4.2 rmind *
286 1.1.1.1.4.2 rmind ******************************************************************************/
287 1.1.1.1.4.2 rmind
288 1.1.1.1.4.2 rmind typedef struct acpi_table_gtdt
289 1.1.1.1.4.2 rmind {
290 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
291 1.1.1.1.4.2 rmind UINT64 Address;
292 1.1.1.1.4.2 rmind UINT32 Flags;
293 1.1.1.1.4.2 rmind UINT32 SecurePl1Interrupt;
294 1.1.1.1.4.2 rmind UINT32 SecurePl1Flags;
295 1.1.1.1.4.2 rmind UINT32 NonSecurePl1Interrupt;
296 1.1.1.1.4.2 rmind UINT32 NonSecurePl1Flags;
297 1.1.1.1.4.2 rmind UINT32 VirtualTimerInterrupt;
298 1.1.1.1.4.2 rmind UINT32 VirtualTimerFlags;
299 1.1.1.1.4.2 rmind UINT32 NonSecurePl2Interrupt;
300 1.1.1.1.4.2 rmind UINT32 NonSecurePl2Flags;
301 1.1.1.1.4.2 rmind
302 1.1.1.1.4.2 rmind } ACPI_TABLE_GTDT;
303 1.1.1.1.4.2 rmind
304 1.1.1.1.4.2 rmind /* Values for Flags field above */
305 1.1.1.1.4.2 rmind
306 1.1.1.1.4.2 rmind #define ACPI_GTDT_MAPPED_BLOCK_PRESENT 1
307 1.1.1.1.4.2 rmind
308 1.1.1.1.4.2 rmind /* Values for all "TimerFlags" fields above */
309 1.1.1.1.4.2 rmind
310 1.1.1.1.4.2 rmind #define ACPI_GTDT_INTERRUPT_MODE 1
311 1.1.1.1.4.2 rmind #define ACPI_GTDT_INTERRUPT_POLARITY 2
312 1.1.1.1.4.2 rmind
313 1.1.1.1.4.2 rmind
314 1.1.1.1.4.2 rmind /*******************************************************************************
315 1.1.1.1.4.2 rmind *
316 1.1.1.1.4.2 rmind * MPST - Memory Power State Table (ACPI 5.0)
317 1.1.1.1.4.2 rmind * Version 1
318 1.1.1.1.4.2 rmind *
319 1.1.1.1.4.2 rmind ******************************************************************************/
320 1.1.1.1.4.2 rmind
321 1.1.1.1.4.2 rmind #define ACPI_MPST_CHANNEL_INFO \
322 1.1.1.1.4.2 rmind UINT8 ChannelId; \
323 1.1.1.1.4.2 rmind UINT8 Reserved1[3]; \
324 1.1.1.1.4.2 rmind UINT16 PowerNodeCount; \
325 1.1.1.1.4.2 rmind UINT16 Reserved2;
326 1.1.1.1.4.2 rmind
327 1.1.1.1.4.2 rmind /* Main table */
328 1.1.1.1.4.2 rmind
329 1.1.1.1.4.2 rmind typedef struct acpi_table_mpst
330 1.1.1.1.4.2 rmind {
331 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
332 1.1.1.1.4.2 rmind ACPI_MPST_CHANNEL_INFO /* Platform Communication Channel */
333 1.1.1.1.4.2 rmind
334 1.1.1.1.4.2 rmind } ACPI_TABLE_MPST;
335 1.1.1.1.4.2 rmind
336 1.1.1.1.4.2 rmind
337 1.1.1.1.4.2 rmind /* Memory Platform Communication Channel Info */
338 1.1.1.1.4.2 rmind
339 1.1.1.1.4.2 rmind typedef struct acpi_mpst_channel
340 1.1.1.1.4.2 rmind {
341 1.1.1.1.4.2 rmind ACPI_MPST_CHANNEL_INFO /* Platform Communication Channel */
342 1.1.1.1.4.2 rmind
343 1.1.1.1.4.2 rmind } ACPI_MPST_CHANNEL;
344 1.1.1.1.4.2 rmind
345 1.1.1.1.4.2 rmind
346 1.1.1.1.4.2 rmind /* Memory Power Node Structure */
347 1.1.1.1.4.2 rmind
348 1.1.1.1.4.2 rmind typedef struct acpi_mpst_power_node
349 1.1.1.1.4.2 rmind {
350 1.1.1.1.4.2 rmind UINT8 Flags;
351 1.1.1.1.4.2 rmind UINT8 Reserved1;
352 1.1.1.1.4.2 rmind UINT16 NodeId;
353 1.1.1.1.4.2 rmind UINT32 Length;
354 1.1.1.1.4.2 rmind UINT64 RangeAddress;
355 1.1.1.1.4.2 rmind UINT64 RangeLength;
356 1.1.1.1.4.2 rmind UINT32 NumPowerStates;
357 1.1.1.1.4.2 rmind UINT32 NumPhysicalComponents;
358 1.1.1.1.4.2 rmind
359 1.1.1.1.4.2 rmind } ACPI_MPST_POWER_NODE;
360 1.1.1.1.4.2 rmind
361 1.1.1.1.4.2 rmind /* Values for Flags field above */
362 1.1.1.1.4.2 rmind
363 1.1.1.1.4.2 rmind #define ACPI_MPST_ENABLED 1
364 1.1.1.1.4.2 rmind #define ACPI_MPST_POWER_MANAGED 2
365 1.1.1.1.4.2 rmind #define ACPI_MPST_HOT_PLUG_CAPABLE 4
366 1.1.1.1.4.2 rmind
367 1.1.1.1.4.2 rmind
368 1.1.1.1.4.2 rmind /* Memory Power State Structure (follows POWER_NODE above) */
369 1.1.1.1.4.2 rmind
370 1.1.1.1.4.2 rmind typedef struct acpi_mpst_power_state
371 1.1.1.1.4.2 rmind {
372 1.1.1.1.4.2 rmind UINT8 PowerState;
373 1.1.1.1.4.2 rmind UINT8 InfoIndex;
374 1.1.1.1.4.2 rmind
375 1.1.1.1.4.2 rmind } ACPI_MPST_POWER_STATE;
376 1.1.1.1.4.2 rmind
377 1.1.1.1.4.2 rmind
378 1.1.1.1.4.2 rmind /* Physical Component ID Structure (follows POWER_STATE above) */
379 1.1.1.1.4.2 rmind
380 1.1.1.1.4.2 rmind typedef struct acpi_mpst_component
381 1.1.1.1.4.2 rmind {
382 1.1.1.1.4.2 rmind UINT16 ComponentId;
383 1.1.1.1.4.2 rmind
384 1.1.1.1.4.2 rmind } ACPI_MPST_COMPONENT;
385 1.1.1.1.4.2 rmind
386 1.1.1.1.4.2 rmind
387 1.1.1.1.4.2 rmind /* Memory Power State Characteristics Structure (follows all POWER_NODEs) */
388 1.1.1.1.4.2 rmind
389 1.1.1.1.4.2 rmind typedef struct acpi_mpst_data_hdr
390 1.1.1.1.4.2 rmind {
391 1.1.1.1.4.2 rmind UINT16 CharacteristicsCount;
392 1.1.1.1.4.2 rmind UINT16 Reserved;
393 1.1.1.1.4.2 rmind
394 1.1.1.1.4.2 rmind } ACPI_MPST_DATA_HDR;
395 1.1.1.1.4.2 rmind
396 1.1.1.1.4.2 rmind typedef struct acpi_mpst_power_data
397 1.1.1.1.4.2 rmind {
398 1.1.1.1.4.2 rmind UINT8 StructureId;
399 1.1.1.1.4.2 rmind UINT8 Flags;
400 1.1.1.1.4.2 rmind UINT16 Reserved1;
401 1.1.1.1.4.2 rmind UINT32 AveragePower;
402 1.1.1.1.4.2 rmind UINT32 PowerSaving;
403 1.1.1.1.4.2 rmind UINT64 ExitLatency;
404 1.1.1.1.4.2 rmind UINT64 Reserved2;
405 1.1.1.1.4.2 rmind
406 1.1.1.1.4.2 rmind } ACPI_MPST_POWER_DATA;
407 1.1.1.1.4.2 rmind
408 1.1.1.1.4.2 rmind /* Values for Flags field above */
409 1.1.1.1.4.2 rmind
410 1.1.1.1.4.2 rmind #define ACPI_MPST_PRESERVE 1
411 1.1.1.1.4.2 rmind #define ACPI_MPST_AUTOENTRY 2
412 1.1.1.1.4.2 rmind #define ACPI_MPST_AUTOEXIT 4
413 1.1.1.1.4.2 rmind
414 1.1.1.1.4.2 rmind
415 1.1.1.1.4.2 rmind /* Shared Memory Region (not part of an ACPI table) */
416 1.1.1.1.4.2 rmind
417 1.1.1.1.4.2 rmind typedef struct acpi_mpst_shared
418 1.1.1.1.4.2 rmind {
419 1.1.1.1.4.2 rmind UINT32 Signature;
420 1.1.1.1.4.2 rmind UINT16 PccCommand;
421 1.1.1.1.4.2 rmind UINT16 PccStatus;
422 1.1.1.1.4.2 rmind UINT32 CommandRegister;
423 1.1.1.1.4.2 rmind UINT32 StatusRegister;
424 1.1.1.1.4.2 rmind UINT32 PowerStateId;
425 1.1.1.1.4.2 rmind UINT32 PowerNodeId;
426 1.1.1.1.4.2 rmind UINT64 EnergyConsumed;
427 1.1.1.1.4.2 rmind UINT64 AveragePower;
428 1.1.1.1.4.2 rmind
429 1.1.1.1.4.2 rmind } ACPI_MPST_SHARED;
430 1.1.1.1.4.2 rmind
431 1.1.1.1.4.2 rmind
432 1.1.1.1.4.2 rmind /*******************************************************************************
433 1.1.1.1.4.2 rmind *
434 1.1.1.1.4.2 rmind * PCCT - Platform Communications Channel Table (ACPI 5.0)
435 1.1.1.1.4.2 rmind * Version 1
436 1.1.1.1.4.2 rmind *
437 1.1.1.1.4.2 rmind ******************************************************************************/
438 1.1.1.1.4.2 rmind
439 1.1.1.1.4.2 rmind typedef struct acpi_table_pcct
440 1.1.1.1.4.2 rmind {
441 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
442 1.1.1.1.4.2 rmind UINT32 Flags;
443 1.1.1.1.4.2 rmind UINT64 Reserved;
444 1.1.1.1.4.2 rmind
445 1.1.1.1.4.2 rmind } ACPI_TABLE_PCCT;
446 1.1.1.1.4.2 rmind
447 1.1.1.1.4.2 rmind /* Values for Flags field above */
448 1.1.1.1.4.2 rmind
449 1.1.1.1.4.2 rmind #define ACPI_PCCT_DOORBELL 1
450 1.1.1.1.4.2 rmind
451 1.1.1.1.4.2 rmind /* Values for subtable type in ACPI_SUBTABLE_HEADER */
452 1.1.1.1.4.2 rmind
453 1.1.1.1.4.2 rmind enum AcpiPcctType
454 1.1.1.1.4.2 rmind {
455 1.1.1.1.4.2 rmind ACPI_PCCT_TYPE_GENERIC_SUBSPACE = 0,
456 1.1.1.1.4.2 rmind ACPI_PCCT_TYPE_RESERVED = 1 /* 1 and greater are reserved */
457 1.1.1.1.4.2 rmind };
458 1.1.1.1.4.2 rmind
459 1.1.1.1.4.2 rmind /*
460 1.1.1.1.4.2 rmind * PCCT Subtables, correspond to Type in ACPI_SUBTABLE_HEADER
461 1.1.1.1.4.2 rmind */
462 1.1.1.1.4.2 rmind
463 1.1.1.1.4.2 rmind /* 0: Generic Communications Subspace */
464 1.1.1.1.4.2 rmind
465 1.1.1.1.4.2 rmind typedef struct acpi_pcct_subspace
466 1.1.1.1.4.2 rmind {
467 1.1.1.1.4.2 rmind ACPI_SUBTABLE_HEADER Header;
468 1.1.1.1.4.2 rmind UINT8 Reserved[6];
469 1.1.1.1.4.2 rmind UINT64 BaseAddress;
470 1.1.1.1.4.2 rmind UINT64 Length;
471 1.1.1.1.4.2 rmind ACPI_GENERIC_ADDRESS DoorbellRegister;
472 1.1.1.1.4.2 rmind UINT64 PreserveMask;
473 1.1.1.1.4.2 rmind UINT64 WriteMask;
474 1.1.1.1.4.2 rmind UINT32 Latency;
475 1.1.1.1.4.2 rmind UINT32 MaxAccessRate;
476 1.1.1.1.4.2 rmind UINT16 MinTurnaroundTime;
477 1.1.1.1.4.2 rmind
478 1.1.1.1.4.2 rmind } ACPI_PCCT_SUBSPACE;
479 1.1.1.1.4.2 rmind
480 1.1.1.1.4.2 rmind
481 1.1.1.1.4.2 rmind /*
482 1.1.1.1.4.2 rmind * PCC memory structures (not part of the ACPI table)
483 1.1.1.1.4.2 rmind */
484 1.1.1.1.4.2 rmind
485 1.1.1.1.4.2 rmind /* Shared Memory Region */
486 1.1.1.1.4.2 rmind
487 1.1.1.1.4.2 rmind typedef struct acpi_pcct_shared_memory
488 1.1.1.1.4.2 rmind {
489 1.1.1.1.4.2 rmind UINT32 Signature;
490 1.1.1.1.4.2 rmind UINT16 Command;
491 1.1.1.1.4.2 rmind UINT16 Status;
492 1.1.1.1.4.2 rmind
493 1.1.1.1.4.2 rmind } ACPI_PCCT_SHARED_MEMORY;
494 1.1.1.1.4.2 rmind
495 1.1.1.1.4.2 rmind
496 1.1.1.1.4.2 rmind /*******************************************************************************
497 1.1.1.1.4.2 rmind *
498 1.1.1.1.4.2 rmind * PMTT - Platform Memory Topology Table (ACPI 5.0)
499 1.1.1.1.4.2 rmind * Version 1
500 1.1.1.1.4.2 rmind *
501 1.1.1.1.4.2 rmind ******************************************************************************/
502 1.1.1.1.4.2 rmind
503 1.1.1.1.4.2 rmind typedef struct acpi_table_pmtt
504 1.1.1.1.4.2 rmind {
505 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
506 1.1.1.1.4.2 rmind UINT32 Reserved;
507 1.1.1.1.4.2 rmind
508 1.1.1.1.4.2 rmind } ACPI_TABLE_PMTT;
509 1.1.1.1.4.2 rmind
510 1.1.1.1.4.2 rmind
511 1.1.1.1.4.2 rmind /* Common header for PMTT subtables that follow main table */
512 1.1.1.1.4.2 rmind
513 1.1.1.1.4.2 rmind typedef struct acpi_pmtt_header
514 1.1.1.1.4.2 rmind {
515 1.1.1.1.4.2 rmind UINT8 Type;
516 1.1.1.1.4.2 rmind UINT8 Reserved1;
517 1.1.1.1.4.2 rmind UINT16 Length;
518 1.1.1.1.4.2 rmind UINT16 Flags;
519 1.1.1.1.4.2 rmind UINT16 Reserved2;
520 1.1.1.1.4.2 rmind
521 1.1.1.1.4.2 rmind } ACPI_PMTT_HEADER;
522 1.1.1.1.4.2 rmind
523 1.1.1.1.4.2 rmind /* Values for Type field above */
524 1.1.1.1.4.2 rmind
525 1.1.1.1.4.2 rmind #define ACPI_PMTT_TYPE_SOCKET 0
526 1.1.1.1.4.2 rmind #define ACPI_PMTT_TYPE_CONTROLLER 1
527 1.1.1.1.4.2 rmind #define ACPI_PMTT_TYPE_DIMM 2
528 1.1.1.1.4.2 rmind #define ACPI_PMTT_TYPE_RESERVED 3 /* 0x03-0xFF are reserved */
529 1.1.1.1.4.2 rmind
530 1.1.1.1.4.2 rmind /* Values for Flags field above */
531 1.1.1.1.4.2 rmind
532 1.1.1.1.4.2 rmind #define ACPI_PMTT_TOP_LEVEL 0x0001
533 1.1.1.1.4.2 rmind #define ACPI_PMTT_PHYSICAL 0x0002
534 1.1.1.1.4.2 rmind #define ACPI_PMTT_MEMORY_TYPE 0x000C
535 1.1.1.1.4.2 rmind
536 1.1.1.1.4.2 rmind
537 1.1.1.1.4.2 rmind /*
538 1.1.1.1.4.2 rmind * PMTT subtables, correspond to Type in acpi_pmtt_header
539 1.1.1.1.4.2 rmind */
540 1.1.1.1.4.2 rmind
541 1.1.1.1.4.2 rmind
542 1.1.1.1.4.2 rmind /* 0: Socket Structure */
543 1.1.1.1.4.2 rmind
544 1.1.1.1.4.2 rmind typedef struct acpi_pmtt_socket
545 1.1.1.1.4.2 rmind {
546 1.1.1.1.4.2 rmind ACPI_PMTT_HEADER Header;
547 1.1.1.1.4.2 rmind UINT16 SocketId;
548 1.1.1.1.4.2 rmind UINT16 Reserved;
549 1.1.1.1.4.2 rmind
550 1.1.1.1.4.2 rmind } ACPI_PMTT_SOCKET;
551 1.1.1.1.4.2 rmind
552 1.1.1.1.4.2 rmind
553 1.1.1.1.4.2 rmind /* 1: Memory Controller subtable */
554 1.1.1.1.4.2 rmind
555 1.1.1.1.4.2 rmind typedef struct acpi_pmtt_controller
556 1.1.1.1.4.2 rmind {
557 1.1.1.1.4.2 rmind ACPI_PMTT_HEADER Header;
558 1.1.1.1.4.2 rmind UINT32 ReadLatency;
559 1.1.1.1.4.2 rmind UINT32 WriteLatency;
560 1.1.1.1.4.2 rmind UINT32 ReadBandwidth;
561 1.1.1.1.4.2 rmind UINT32 WriteBandwidth;
562 1.1.1.1.4.2 rmind UINT16 AccessWidth;
563 1.1.1.1.4.2 rmind UINT16 Alignment;
564 1.1.1.1.4.2 rmind UINT16 Reserved;
565 1.1.1.1.4.2 rmind UINT16 DomainCount;
566 1.1.1.1.4.2 rmind
567 1.1.1.1.4.2 rmind } ACPI_PMTT_CONTROLLER;
568 1.1.1.1.4.2 rmind
569 1.1.1.1.4.2 rmind /* 1a: Proximity Domain substructure */
570 1.1.1.1.4.2 rmind
571 1.1.1.1.4.2 rmind typedef struct acpi_pmtt_domain
572 1.1.1.1.4.2 rmind {
573 1.1.1.1.4.2 rmind UINT32 ProximityDomain;
574 1.1.1.1.4.2 rmind
575 1.1.1.1.4.2 rmind } ACPI_PMTT_DOMAIN;
576 1.1.1.1.4.2 rmind
577 1.1.1.1.4.2 rmind
578 1.1.1.1.4.2 rmind /* 2: Physical Component Identifier (DIMM) */
579 1.1.1.1.4.2 rmind
580 1.1.1.1.4.2 rmind typedef struct acpi_pmtt_physical_component
581 1.1.1.1.4.2 rmind {
582 1.1.1.1.4.2 rmind ACPI_PMTT_HEADER Header;
583 1.1.1.1.4.2 rmind UINT16 ComponentId;
584 1.1.1.1.4.2 rmind UINT16 Reserved;
585 1.1.1.1.4.2 rmind UINT32 MemorySize;
586 1.1.1.1.4.2 rmind UINT32 BiosHandle;
587 1.1.1.1.4.2 rmind
588 1.1.1.1.4.2 rmind } ACPI_PMTT_PHYSICAL_COMPONENT;
589 1.1.1.1.4.2 rmind
590 1.1.1.1.4.2 rmind
591 1.1.1.1.4.2 rmind /*******************************************************************************
592 1.1.1.1.4.2 rmind *
593 1.1.1.1.4.2 rmind * RASF - RAS Feature Table (ACPI 5.0)
594 1.1.1.1.4.2 rmind * Version 1
595 1.1.1.1.4.2 rmind *
596 1.1.1.1.4.2 rmind ******************************************************************************/
597 1.1.1.1.4.2 rmind
598 1.1.1.1.4.2 rmind typedef struct acpi_table_rasf
599 1.1.1.1.4.2 rmind {
600 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
601 1.1.1.1.4.2 rmind UINT8 ChannelId[12];
602 1.1.1.1.4.2 rmind
603 1.1.1.1.4.2 rmind } ACPI_TABLE_RASF;
604 1.1.1.1.4.2 rmind
605 1.1.1.1.4.2 rmind /* RASF Platform Communication Channel Shared Memory Region */
606 1.1.1.1.4.2 rmind
607 1.1.1.1.4.2 rmind typedef struct acpi_rasf_shared_memory
608 1.1.1.1.4.2 rmind {
609 1.1.1.1.4.2 rmind UINT32 Signature;
610 1.1.1.1.4.2 rmind UINT16 Command;
611 1.1.1.1.4.2 rmind UINT16 Status;
612 1.1.1.1.4.2 rmind UINT16 Version;
613 1.1.1.1.4.2 rmind UINT8 Capabilities[16];
614 1.1.1.1.4.2 rmind UINT8 SetCapabilities[16];
615 1.1.1.1.4.2 rmind UINT16 NumParameterBlocks;
616 1.1.1.1.4.2 rmind UINT32 SetCapabilitiesStatus;
617 1.1.1.1.4.2 rmind
618 1.1.1.1.4.2 rmind } ACPI_RASF_SHARED_MEMORY;
619 1.1.1.1.4.2 rmind
620 1.1.1.1.4.2 rmind /* RASF Parameter Block Structure Header */
621 1.1.1.1.4.2 rmind
622 1.1.1.1.4.2 rmind typedef struct acpi_rasf_parameter_block
623 1.1.1.1.4.2 rmind {
624 1.1.1.1.4.2 rmind UINT16 Type;
625 1.1.1.1.4.2 rmind UINT16 Version;
626 1.1.1.1.4.2 rmind UINT16 Length;
627 1.1.1.1.4.2 rmind
628 1.1.1.1.4.2 rmind } ACPI_RASF_PARAMETER_BLOCK;
629 1.1.1.1.4.2 rmind
630 1.1.1.1.4.2 rmind /* RASF Parameter Block Structure for PATROL_SCRUB */
631 1.1.1.1.4.2 rmind
632 1.1.1.1.4.2 rmind typedef struct acpi_rasf_patrol_scrub_parameter
633 1.1.1.1.4.2 rmind {
634 1.1.1.1.4.2 rmind ACPI_RASF_PARAMETER_BLOCK Header;
635 1.1.1.1.4.2 rmind UINT16 PatrolScrubCommand;
636 1.1.1.1.4.2 rmind UINT64 RequestedAddressRange[2];
637 1.1.1.1.4.2 rmind UINT64 ActualAddressRange[2];
638 1.1.1.1.4.2 rmind UINT16 Flags;
639 1.1.1.1.4.2 rmind UINT8 RequestedSpeed;
640 1.1.1.1.4.2 rmind
641 1.1.1.1.4.2 rmind } ACPI_RASF_PATROL_SCRUB_PARAMETER;
642 1.1.1.1.4.2 rmind
643 1.1.1.1.4.2 rmind /* Masks for Flags and Speed fields above */
644 1.1.1.1.4.2 rmind
645 1.1.1.1.4.2 rmind #define ACPI_RASF_SCRUBBER_RUNNING 1
646 1.1.1.1.4.2 rmind #define ACPI_RASF_SPEED (7<<1)
647 1.1.1.1.4.2 rmind #define ACPI_RASF_SPEED_SLOW (0<<1)
648 1.1.1.1.4.2 rmind #define ACPI_RASF_SPEED_MEDIUM (4<<1)
649 1.1.1.1.4.2 rmind #define ACPI_RASF_SPEED_FAST (7<<1)
650 1.1.1.1.4.2 rmind
651 1.1.1.1.4.2 rmind /* Channel Commands */
652 1.1.1.1.4.2 rmind
653 1.1.1.1.4.2 rmind enum AcpiRasfCommands
654 1.1.1.1.4.2 rmind {
655 1.1.1.1.4.2 rmind ACPI_RASF_EXECUTE_RASF_COMMAND = 1
656 1.1.1.1.4.2 rmind };
657 1.1.1.1.4.2 rmind
658 1.1.1.1.4.2 rmind /* Platform RAS Capabilities */
659 1.1.1.1.4.2 rmind
660 1.1.1.1.4.2 rmind enum AcpiRasfCapabiliities
661 1.1.1.1.4.2 rmind {
662 1.1.1.1.4.2 rmind ACPI_HW_PATROL_SCRUB_SUPPORTED = 0,
663 1.1.1.1.4.2 rmind ACPI_SW_PATROL_SCRUB_EXPOSED = 1
664 1.1.1.1.4.2 rmind };
665 1.1.1.1.4.2 rmind
666 1.1.1.1.4.2 rmind /* Patrol Scrub Commands */
667 1.1.1.1.4.2 rmind
668 1.1.1.1.4.2 rmind enum AcpiRasfPatrolScrubCommands
669 1.1.1.1.4.2 rmind {
670 1.1.1.1.4.2 rmind ACPI_RASF_GET_PATROL_PARAMETERS = 1,
671 1.1.1.1.4.2 rmind ACPI_RASF_START_PATROL_SCRUBBER = 2,
672 1.1.1.1.4.2 rmind ACPI_RASF_STOP_PATROL_SCRUBBER = 3
673 1.1.1.1.4.2 rmind };
674 1.1.1.1.4.2 rmind
675 1.1.1.1.4.2 rmind /* Channel Command flags */
676 1.1.1.1.4.2 rmind
677 1.1.1.1.4.2 rmind #define ACPI_RASF_GENERATE_SCI (1<<15)
678 1.1.1.1.4.2 rmind
679 1.1.1.1.4.2 rmind /* Status values */
680 1.1.1.1.4.2 rmind
681 1.1.1.1.4.2 rmind enum AcpiRasfStatus
682 1.1.1.1.4.2 rmind {
683 1.1.1.1.4.2 rmind ACPI_RASF_SUCCESS = 0,
684 1.1.1.1.4.2 rmind ACPI_RASF_NOT_VALID = 1,
685 1.1.1.1.4.2 rmind ACPI_RASF_NOT_SUPPORTED = 2,
686 1.1.1.1.4.2 rmind ACPI_RASF_BUSY = 3,
687 1.1.1.1.4.2 rmind ACPI_RASF_FAILED = 4,
688 1.1.1.1.4.2 rmind ACPI_RASF_ABORTED = 5,
689 1.1.1.1.4.2 rmind ACPI_RASF_INVALID_DATA = 6
690 1.1.1.1.4.2 rmind };
691 1.1.1.1.4.2 rmind
692 1.1.1.1.4.2 rmind /* Status flags */
693 1.1.1.1.4.2 rmind
694 1.1.1.1.4.2 rmind #define ACPI_RASF_COMMAND_COMPLETE (1)
695 1.1.1.1.4.2 rmind #define ACPI_RASF_SCI_DOORBELL (1<<1)
696 1.1.1.1.4.2 rmind #define ACPI_RASF_ERROR (1<<2)
697 1.1.1.1.4.2 rmind #define ACPI_RASF_STATUS (0x1F<<3)
698 1.1.1.1.4.2 rmind
699 1.1.1.1.4.2 rmind
700 1.1.1.1.4.2 rmind /*******************************************************************************
701 1.1.1.1.4.2 rmind *
702 1.1.1.1.4.2 rmind * TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table
703 1.1.1.1.4.2 rmind * Version 3
704 1.1.1.1.4.2 rmind *
705 1.1.1.1.4.2 rmind * Conforms to "TPM 2.0 Hardware Interface Table (TPM2)" 29 November 2011
706 1.1.1.1.4.2 rmind *
707 1.1.1.1.4.2 rmind ******************************************************************************/
708 1.1.1.1.4.2 rmind
709 1.1.1.1.4.2 rmind typedef struct acpi_table_tpm2
710 1.1.1.1.4.2 rmind {
711 1.1.1.1.4.2 rmind ACPI_TABLE_HEADER Header; /* Common ACPI table header */
712 1.1.1.1.4.2 rmind UINT32 Flags;
713 1.1.1.1.4.2 rmind UINT64 ControlAddress;
714 1.1.1.1.4.2 rmind UINT32 StartMethod;
715 1.1.1.1.4.2 rmind
716 1.1.1.1.4.2 rmind } ACPI_TABLE_TPM2;
717 1.1.1.1.4.2 rmind
718 1.1.1.1.4.2 rmind /* Control area structure (not part of table, pointed to by ControlAddress) */
719 1.1.1.1.4.2 rmind
720 1.1.1.1.4.2 rmind typedef struct acpi_tpm2_control
721 1.1.1.1.4.2 rmind {
722 1.1.1.1.4.2 rmind UINT32 Reserved;
723 1.1.1.1.4.2 rmind UINT32 Error;
724 1.1.1.1.4.2 rmind UINT32 Cancel;
725 1.1.1.1.4.2 rmind UINT32 Start;
726 1.1.1.1.4.2 rmind UINT64 InterruptControl;
727 1.1.1.1.4.2 rmind UINT32 CommandSize;
728 1.1.1.1.4.2 rmind UINT64 CommandAddress;
729 1.1.1.1.4.2 rmind UINT32 ResponseSize;
730 1.1.1.1.4.2 rmind UINT64 ResponseAddress;
731 1.1.1.1.4.2 rmind
732 1.1.1.1.4.2 rmind } ACPI_TPM2_CONTROL;
733 1.1.1.1.4.2 rmind
734 1.1.1.1.4.2 rmind
735 1.1.1.1.4.2 rmind /* Reset to default packing */
736 1.1.1.1.4.2 rmind
737 1.1.1.1.4.2 rmind #pragma pack()
738 1.1.1.1.4.2 rmind
739 1.1.1.1.4.2 rmind #endif /* __ACTBL3_H__ */
740