acdisasm.h revision 1.26 1 1.1 jruoho /******************************************************************************
2 1.1 jruoho *
3 1.1 jruoho * Name: acdisasm.h - AML disassembler
4 1.1 jruoho *
5 1.1 jruoho *****************************************************************************/
6 1.1 jruoho
7 1.3 jruoho /*
8 1.25 christos * Copyright (C) 2000 - 2022, Intel Corp.
9 1.1 jruoho * All rights reserved.
10 1.1 jruoho *
11 1.3 jruoho * Redistribution and use in source and binary forms, with or without
12 1.3 jruoho * modification, are permitted provided that the following conditions
13 1.3 jruoho * are met:
14 1.3 jruoho * 1. Redistributions of source code must retain the above copyright
15 1.3 jruoho * notice, this list of conditions, and the following disclaimer,
16 1.3 jruoho * without modification.
17 1.3 jruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.3 jruoho * substantially similar to the "NO WARRANTY" disclaimer below
19 1.3 jruoho * ("Disclaimer") and any redistribution must be conditioned upon
20 1.3 jruoho * including a substantially similar Disclaimer requirement for further
21 1.3 jruoho * binary redistribution.
22 1.3 jruoho * 3. Neither the names of the above-listed copyright holders nor the names
23 1.3 jruoho * of any contributors may be used to endorse or promote products derived
24 1.3 jruoho * from this software without specific prior written permission.
25 1.3 jruoho *
26 1.3 jruoho * Alternatively, this software may be distributed under the terms of the
27 1.3 jruoho * GNU General Public License ("GPL") version 2 as published by the Free
28 1.3 jruoho * Software Foundation.
29 1.3 jruoho *
30 1.3 jruoho * NO WARRANTY
31 1.3 jruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.3 jruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.21 christos * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
34 1.3 jruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.3 jruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.3 jruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.3 jruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.3 jruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.3 jruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.3 jruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.3 jruoho * POSSIBILITY OF SUCH DAMAGES.
42 1.3 jruoho */
43 1.1 jruoho
44 1.1 jruoho #ifndef __ACDISASM_H__
45 1.1 jruoho #define __ACDISASM_H__
46 1.1 jruoho
47 1.1 jruoho #include "amlresrc.h"
48 1.1 jruoho
49 1.1 jruoho
50 1.1 jruoho #define BLOCK_NONE 0
51 1.1 jruoho #define BLOCK_PAREN 1
52 1.1 jruoho #define BLOCK_BRACE 2
53 1.1 jruoho #define BLOCK_COMMA_LIST 4
54 1.2 jruoho #define ACPI_DEFAULT_RESNAME *(const UINT32 *) "__RD"
55 1.1 jruoho
56 1.3 jruoho /*
57 1.3 jruoho * Raw table data header. Used by disassembler and data table compiler.
58 1.3 jruoho * Do not change.
59 1.3 jruoho */
60 1.3 jruoho #define ACPI_RAW_TABLE_DATA_HEADER "Raw Table Data"
61 1.3 jruoho
62 1.1 jruoho
63 1.8 christos typedef struct acpi_dmtable_info
64 1.1 jruoho {
65 1.1 jruoho UINT8 Opcode;
66 1.5 christos UINT16 Offset;
67 1.1 jruoho char *Name;
68 1.1 jruoho UINT8 Flags;
69 1.1 jruoho
70 1.1 jruoho } ACPI_DMTABLE_INFO;
71 1.1 jruoho
72 1.5 christos /* Values for Flags field above */
73 1.5 christos
74 1.1 jruoho #define DT_LENGTH 0x01 /* Field is a subtable length */
75 1.1 jruoho #define DT_FLAG 0x02 /* Field is a flag value */
76 1.1 jruoho #define DT_NON_ZERO 0x04 /* Field must be non-zero */
77 1.5 christos #define DT_OPTIONAL 0x08 /* Field is optional */
78 1.5 christos #define DT_DESCRIBES_OPTIONAL 0x10 /* Field describes an optional field (length, etc.) */
79 1.5 christos #define DT_COUNT 0x20 /* Currently not used */
80 1.1 jruoho
81 1.1 jruoho /*
82 1.1 jruoho * Values for Opcode above.
83 1.5 christos * Note: 0-7 must not change, they are used as a flag shift value. Other
84 1.5 christos * than those, new values can be added wherever appropriate.
85 1.1 jruoho */
86 1.5 christos typedef enum
87 1.5 christos {
88 1.5 christos /* Simple Data Types */
89 1.5 christos
90 1.5 christos ACPI_DMT_FLAG0 = 0,
91 1.5 christos ACPI_DMT_FLAG1 = 1,
92 1.5 christos ACPI_DMT_FLAG2 = 2,
93 1.5 christos ACPI_DMT_FLAG3 = 3,
94 1.5 christos ACPI_DMT_FLAG4 = 4,
95 1.5 christos ACPI_DMT_FLAG5 = 5,
96 1.5 christos ACPI_DMT_FLAG6 = 6,
97 1.5 christos ACPI_DMT_FLAG7 = 7,
98 1.5 christos ACPI_DMT_FLAGS0,
99 1.5 christos ACPI_DMT_FLAGS1,
100 1.5 christos ACPI_DMT_FLAGS2,
101 1.25 christos ACPI_DMT_FLAGS8_2,
102 1.5 christos ACPI_DMT_FLAGS4,
103 1.14 christos ACPI_DMT_FLAGS4_0,
104 1.14 christos ACPI_DMT_FLAGS4_4,
105 1.14 christos ACPI_DMT_FLAGS4_8,
106 1.14 christos ACPI_DMT_FLAGS4_12,
107 1.14 christos ACPI_DMT_FLAGS16_16,
108 1.5 christos ACPI_DMT_UINT8,
109 1.5 christos ACPI_DMT_UINT16,
110 1.5 christos ACPI_DMT_UINT24,
111 1.5 christos ACPI_DMT_UINT32,
112 1.5 christos ACPI_DMT_UINT40,
113 1.5 christos ACPI_DMT_UINT48,
114 1.5 christos ACPI_DMT_UINT56,
115 1.5 christos ACPI_DMT_UINT64,
116 1.5 christos ACPI_DMT_BUF7,
117 1.5 christos ACPI_DMT_BUF10,
118 1.11 christos ACPI_DMT_BUF12,
119 1.5 christos ACPI_DMT_BUF16,
120 1.23 christos ACPI_DMT_BUF18,
121 1.5 christos ACPI_DMT_BUF128,
122 1.5 christos ACPI_DMT_SIG,
123 1.5 christos ACPI_DMT_STRING,
124 1.5 christos ACPI_DMT_NAME4,
125 1.5 christos ACPI_DMT_NAME6,
126 1.5 christos ACPI_DMT_NAME8,
127 1.5 christos
128 1.5 christos /* Types that are decoded to strings and miscellaneous */
129 1.5 christos
130 1.5 christos ACPI_DMT_ACCWIDTH,
131 1.5 christos ACPI_DMT_CHKSUM,
132 1.5 christos ACPI_DMT_GAS,
133 1.5 christos ACPI_DMT_SPACEID,
134 1.5 christos ACPI_DMT_UNICODE,
135 1.5 christos ACPI_DMT_UUID,
136 1.5 christos
137 1.5 christos /* Types used only for the Data Table Compiler */
138 1.5 christos
139 1.5 christos ACPI_DMT_BUFFER,
140 1.7 christos ACPI_DMT_RAW_BUFFER, /* Large, multiple line buffer */
141 1.5 christos ACPI_DMT_DEVICE_PATH,
142 1.5 christos ACPI_DMT_LABEL,
143 1.5 christos ACPI_DMT_PCI_PATH,
144 1.5 christos
145 1.5 christos /* Types that are specific to particular ACPI tables */
146 1.5 christos
147 1.23 christos ACPI_DMT_AEST,
148 1.23 christos ACPI_DMT_AEST_CACHE,
149 1.23 christos ACPI_DMT_AEST_GIC,
150 1.23 christos ACPI_DMT_AEST_RES,
151 1.23 christos ACPI_DMT_AEST_XFACE,
152 1.23 christos ACPI_DMT_AEST_XRUPT,
153 1.24 christos ACPI_DMT_AGDI,
154 1.5 christos ACPI_DMT_ASF,
155 1.26 christos ACPI_DMT_CDAT,
156 1.21 christos ACPI_DMT_CEDT,
157 1.5 christos ACPI_DMT_DMAR,
158 1.6 christos ACPI_DMT_DMAR_SCOPE,
159 1.5 christos ACPI_DMT_EINJACT,
160 1.5 christos ACPI_DMT_EINJINST,
161 1.5 christos ACPI_DMT_ERSTACT,
162 1.5 christos ACPI_DMT_ERSTINST,
163 1.5 christos ACPI_DMT_FADTPM,
164 1.6 christos ACPI_DMT_GTDT,
165 1.5 christos ACPI_DMT_HEST,
166 1.5 christos ACPI_DMT_HESTNTFY,
167 1.5 christos ACPI_DMT_HESTNTYP,
168 1.14 christos ACPI_DMT_HMAT,
169 1.8 christos ACPI_DMT_IORTMEM,
170 1.5 christos ACPI_DMT_IVRS,
171 1.22 christos ACPI_DMT_IVRS_DE,
172 1.22 christos ACPI_DMT_IVRS_UNTERMINATED_STRING,
173 1.6 christos ACPI_DMT_LPIT,
174 1.5 christos ACPI_DMT_MADT,
175 1.8 christos ACPI_DMT_NFIT,
176 1.23 christos ACPI_DMT_NHLT1,
177 1.23 christos ACPI_DMT_NHLT1a,
178 1.24 christos ACPI_DMT_NHLT1b,
179 1.24 christos ACPI_DMT_NHLT1c,
180 1.24 christos ACPI_DMT_NHLT1d,
181 1.24 christos ACPI_DMT_NHLT1e,
182 1.24 christos ACPI_DMT_NHLT1f,
183 1.5 christos ACPI_DMT_PCCT,
184 1.21 christos ACPI_DMT_PHAT,
185 1.5 christos ACPI_DMT_PMTT,
186 1.21 christos ACPI_DMT_PMTT_VENDOR,
187 1.14 christos ACPI_DMT_PPTT,
188 1.22 christos ACPI_DMT_RGRT,
189 1.14 christos ACPI_DMT_SDEI,
190 1.15 christos ACPI_DMT_SDEV,
191 1.5 christos ACPI_DMT_SLIC,
192 1.5 christos ACPI_DMT_SRAT,
193 1.15 christos ACPI_DMT_TPM2,
194 1.21 christos ACPI_DMT_VIOT,
195 1.23 christos ACPI_DMT_WPBT_UNICODE,
196 1.5 christos
197 1.5 christos /* Special opcodes */
198 1.5 christos
199 1.5 christos ACPI_DMT_EXTRA_TEXT,
200 1.5 christos ACPI_DMT_EXIT
201 1.5 christos
202 1.5 christos } ACPI_ENTRY_TYPES;
203 1.1 jruoho
204 1.1 jruoho typedef
205 1.1 jruoho void (*ACPI_DMTABLE_HANDLER) (
206 1.1 jruoho ACPI_TABLE_HEADER *Table);
207 1.1 jruoho
208 1.1 jruoho typedef
209 1.1 jruoho ACPI_STATUS (*ACPI_CMTABLE_HANDLER) (
210 1.1 jruoho void **PFieldList);
211 1.1 jruoho
212 1.1 jruoho typedef struct acpi_dmtable_data
213 1.1 jruoho {
214 1.1 jruoho char *Signature;
215 1.1 jruoho ACPI_DMTABLE_INFO *TableInfo;
216 1.1 jruoho ACPI_DMTABLE_HANDLER TableHandler;
217 1.1 jruoho ACPI_CMTABLE_HANDLER CmTableHandler;
218 1.3 jruoho const unsigned char *Template;
219 1.1 jruoho
220 1.1 jruoho } ACPI_DMTABLE_DATA;
221 1.1 jruoho
222 1.1 jruoho
223 1.1 jruoho typedef struct acpi_op_walk_info
224 1.1 jruoho {
225 1.9 christos ACPI_WALK_STATE *WalkState;
226 1.9 christos ACPI_PARSE_OBJECT *MappingOp;
227 1.9 christos UINT8 *PreviousAml;
228 1.9 christos UINT8 *StartAml;
229 1.1 jruoho UINT32 Level;
230 1.1 jruoho UINT32 LastLevel;
231 1.1 jruoho UINT32 Count;
232 1.1 jruoho UINT32 BitOffset;
233 1.1 jruoho UINT32 Flags;
234 1.9 christos UINT32 AmlOffset;
235 1.1 jruoho
236 1.1 jruoho } ACPI_OP_WALK_INFO;
237 1.1 jruoho
238 1.1 jruoho /*
239 1.1 jruoho * TBD - another copy of this is in asltypes.h, fix
240 1.1 jruoho */
241 1.1 jruoho #ifndef ASL_WALK_CALLBACK_DEFINED
242 1.1 jruoho typedef
243 1.1 jruoho ACPI_STATUS (*ASL_WALK_CALLBACK) (
244 1.1 jruoho ACPI_PARSE_OBJECT *Op,
245 1.1 jruoho UINT32 Level,
246 1.1 jruoho void *Context);
247 1.1 jruoho #define ASL_WALK_CALLBACK_DEFINED
248 1.1 jruoho #endif
249 1.1 jruoho
250 1.5 christos typedef
251 1.5 christos void (*ACPI_RESOURCE_HANDLER) (
252 1.6 christos ACPI_OP_WALK_INFO *Info,
253 1.5 christos AML_RESOURCE *Resource,
254 1.5 christos UINT32 Length,
255 1.5 christos UINT32 Level);
256 1.1 jruoho
257 1.1 jruoho typedef struct acpi_resource_tag
258 1.1 jruoho {
259 1.1 jruoho UINT32 BitIndex;
260 1.1 jruoho char *Tag;
261 1.1 jruoho
262 1.1 jruoho } ACPI_RESOURCE_TAG;
263 1.1 jruoho
264 1.1 jruoho /* Strings used for decoding flags to ASL keywords */
265 1.1 jruoho
266 1.1 jruoho extern const char *AcpiGbl_WordDecode[];
267 1.1 jruoho extern const char *AcpiGbl_IrqDecode[];
268 1.1 jruoho extern const char *AcpiGbl_LockRule[];
269 1.1 jruoho extern const char *AcpiGbl_AccessTypes[];
270 1.1 jruoho extern const char *AcpiGbl_UpdateRules[];
271 1.1 jruoho extern const char *AcpiGbl_MatchOps[];
272 1.1 jruoho
273 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestHdr[];
274 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestProcError[];
275 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestCacheRsrc[];
276 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestTlbRsrc[];
277 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestGenRsrc[];
278 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestMemError[];
279 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestSmmuError[];
280 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestVendorError[];
281 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestGicError[];
282 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestXface[];
283 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestXrupt[];
284 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoAgdi[];
285 1.25 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoApmtNode[];
286 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf0[];
287 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1[];
288 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1a[];
289 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2[];
290 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2a[];
291 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf3[];
292 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf4[];
293 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsfHdr[];
294 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoBdat[];
295 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoBoot[];
296 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoBert[];
297 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoBgrt[];
298 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCcel[];
299 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdatTableHdr[];
300 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdatHeader[];
301 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat0[];
302 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat1[];
303 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat2[];
304 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat3[];
305 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat4[];
306 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdat5[];
307 1.26 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCdatEntries[];
308 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedtHdr[];
309 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt0[];
310 1.25 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt1[];
311 1.25 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt1_te[];
312 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep[];
313 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep0[];
314 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt0[];
315 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt1[];
316 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2[];
317 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2a[];
318 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2[];
319 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Device[];
320 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Addr[];
321 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Size[];
322 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Name[];
323 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2OemData[];
324 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbgp[];
325 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar[];
326 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarHdr[];
327 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarScope[];
328 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar0[];
329 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar1[];
330 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar2[];
331 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar3[];
332 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar4[];
333 1.25 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar5[];
334 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm[];
335 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0[];
336 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0a[];
337 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1[];
338 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1a[];
339 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm2[];
340 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEcdt[];
341 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj[];
342 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj0[];
343 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst[];
344 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst0[];
345 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFacs[];
346 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt1[];
347 1.12 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt2[];
348 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt3[];
349 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt5[];
350 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt6[];
351 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt[];
352 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdtHdr[];
353 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt0[];
354 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt1[];
355 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoGas[];
356 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt[];
357 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdtHdr[];
358 1.19 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdtEl2[];
359 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0[];
360 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0a[];
361 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt1[];
362 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHeader[];
363 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest[];
364 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest0[];
365 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest1[];
366 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest2[];
367 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest6[];
368 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest7[];
369 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest8[];
370 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest9[];
371 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest10[];
372 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest11[];
373 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestNotify[];
374 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestBank[];
375 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoHpet[];
376 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpitHdr[];
377 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit0[];
378 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit1[];
379 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat[];
380 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat0[];
381 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1[];
382 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1a[];
383 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1b[];
384 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat1c[];
385 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat2[];
386 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmat2a[];
387 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoHmatHdr[];
388 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort[];
389 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0[];
390 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0a[];
391 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1[];
392 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1a[];
393 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort2[];
394 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3[];
395 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3a[];
396 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3b[];
397 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3c[];
398 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort4[];
399 1.17 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort5[];
400 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort6[];
401 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort6a[];
402 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortAcc[];
403 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr[];
404 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr3[];
405 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortMap[];
406 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortPad[];
407 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs[];
408 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHware1[];
409 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHware23[];
410 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsMemory[];
411 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs4[];
412 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8a[];
413 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8b[];
414 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8c[];
415 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsCidString[];
416 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsCidInteger[];
417 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHid[];
418 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsUidString[];
419 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsUidInteger[];
420 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHidString[];
421 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHidInteger[];
422 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt[];
423 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt0[];
424 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt1[];
425 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt2[];
426 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt3[];
427 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt4[];
428 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt5[];
429 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt6[];
430 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt7[];
431 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt8[];
432 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt9[];
433 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt10[];
434 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt11[];
435 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt12[];
436 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt13[];
437 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt14[];
438 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt15[];
439 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt16[];
440 1.25 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt17[];
441 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadtHdr[];
442 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg[];
443 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg0[];
444 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMchi[];
445 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst[];
446 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0[];
447 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0A[];
448 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0B[];
449 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst1[];
450 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst2[];
451 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct[];
452 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct0[];
453 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit[];
454 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfitHdr[];
455 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit0[];
456 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit1[];
457 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2[];
458 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2a[];
459 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3[];
460 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3a[];
461 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit4[];
462 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit5[];
463 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6[];
464 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6a[];
465 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit7[];
466 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt[];
467 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt0[];
468 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt1[];
469 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt2[];
470 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt3[];
471 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt3a[];
472 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt4[];
473 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt5[];
474 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt5a[];
475 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt5b[];
476 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt5c[];
477 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt6[];
478 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt6a[];
479 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt6b[];
480 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7[];
481 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7a[];
482 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7b[];
483 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt9[];
484 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhatHdr[];
485 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat0[];
486 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat0a[];
487 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1[];
488 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1a[];
489 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat1b[];
490 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt[];
491 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt0[];
492 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1[];
493 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt2[];
494 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmttVendor[];
495 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmttHdr[];
496 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct[];
497 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcctHdr[];
498 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct0[];
499 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct1[];
500 1.10 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct2[];
501 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct3[];
502 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct4[];
503 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct5[];
504 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt[];
505 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt0[];
506 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0[];
507 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0a[];
508 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt1[];
509 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt1a[];
510 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPptt2[];
511 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPpttHdr[];
512 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtHdr[];
513 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtModule[];
514 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoPrmtHandler[];
515 1.11 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRasf[];
516 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRgrt[];
517 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoRgrt0[];
518 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp1[];
519 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp2[];
520 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt[];
521 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3ptHdr[];
522 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt0[];
523 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt1[];
524 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSbst[];
525 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdei[];
526 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev[];
527 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevHdr[];
528 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0[];
529 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0a[];
530 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0b[];
531 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompHdr[];
532 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompId[];
533 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdevSecCompMem[];
534 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1[];
535 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1a[];
536 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1b[];
537 1.7 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlic[];
538 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlit[];
539 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpcr[];
540 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpmi[];
541 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat[];
542 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSratHdr[];
543 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat0[];
544 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat1[];
545 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat2[];
546 1.6 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat3[];
547 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat4[];
548 1.19 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat5[];
549 1.23 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat6[];
550 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoStao[];
551 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoStaoStr[];
552 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSvkl[];
553 1.22 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoSvkl0[];
554 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaHdr[];
555 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaClient[];
556 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaServer[];
557 1.24 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTdel[];
558 1.5 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm2[];
559 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm2a[];
560 1.15 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm211[];
561 1.18 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm23[];
562 1.18 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm23a[];
563 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoUefi[];
564 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot[];
565 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViotHeader[];
566 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot1[];
567 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot2[];
568 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot3[];
569 1.21 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoViot4[];
570 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWaet[];
571 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat[];
572 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat0[];
573 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWddt[];
574 1.1 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdrt[];
575 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt[];
576 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt0[];
577 1.14 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoWsmt[];
578 1.8 christos extern ACPI_DMTABLE_INFO AcpiDmTableInfoXenv[];
579 1.1 jruoho
580 1.3 jruoho extern ACPI_DMTABLE_INFO AcpiDmTableInfoGeneric[][2];
581 1.3 jruoho
582 1.1 jruoho /*
583 1.8 christos * dmtable and ahtable
584 1.1 jruoho */
585 1.8 christos extern const ACPI_DMTABLE_DATA AcpiDmTableData[];
586 1.18 christos extern const AH_TABLE AcpiGbl_SupportedTables[];
587 1.3 jruoho
588 1.3 jruoho UINT8
589 1.3 jruoho AcpiDmGenerateChecksum (
590 1.3 jruoho void *Table,
591 1.3 jruoho UINT32 Length,
592 1.3 jruoho UINT8 OriginalChecksum);
593 1.1 jruoho
594 1.8 christos const ACPI_DMTABLE_DATA *
595 1.1 jruoho AcpiDmGetTableData (
596 1.1 jruoho char *Signature);
597 1.1 jruoho
598 1.1 jruoho void
599 1.1 jruoho AcpiDmDumpDataTable (
600 1.1 jruoho ACPI_TABLE_HEADER *Table);
601 1.1 jruoho
602 1.1 jruoho ACPI_STATUS
603 1.1 jruoho AcpiDmDumpTable (
604 1.1 jruoho UINT32 TableLength,
605 1.1 jruoho UINT32 TableOffset,
606 1.1 jruoho void *Table,
607 1.15 christos UINT32 SubtableLength,
608 1.1 jruoho ACPI_DMTABLE_INFO *Info);
609 1.1 jruoho
610 1.1 jruoho void
611 1.1 jruoho AcpiDmLineHeader (
612 1.1 jruoho UINT32 Offset,
613 1.1 jruoho UINT32 ByteLength,
614 1.1 jruoho char *Name);
615 1.1 jruoho
616 1.1 jruoho void
617 1.1 jruoho AcpiDmLineHeader2 (
618 1.1 jruoho UINT32 Offset,
619 1.1 jruoho UINT32 ByteLength,
620 1.1 jruoho char *Name,
621 1.1 jruoho UINT32 Value);
622 1.1 jruoho
623 1.1 jruoho
624 1.1 jruoho /*
625 1.1 jruoho * dmtbdump
626 1.1 jruoho */
627 1.1 jruoho void
628 1.7 christos AcpiDmDumpBuffer (
629 1.7 christos void *Table,
630 1.7 christos UINT32 BufferOffset,
631 1.7 christos UINT32 Length,
632 1.7 christos UINT32 AbsoluteOffset,
633 1.8 christos char *Header);
634 1.8 christos
635 1.8 christos void
636 1.8 christos AcpiDmDumpUnicode (
637 1.8 christos void *Table,
638 1.8 christos UINT32 BufferOffset,
639 1.8 christos UINT32 ByteLength);
640 1.7 christos
641 1.7 christos void
642 1.23 christos AcpiDmDumpAest (
643 1.23 christos ACPI_TABLE_HEADER *Table);
644 1.23 christos
645 1.23 christos void
646 1.25 christos AcpiDmDumpApmt (
647 1.25 christos ACPI_TABLE_HEADER *Table);
648 1.25 christos
649 1.25 christos void
650 1.1 jruoho AcpiDmDumpAsf (
651 1.1 jruoho ACPI_TABLE_HEADER *Table);
652 1.1 jruoho
653 1.1 jruoho void
654 1.26 christos AcpiDmDumpCcel (
655 1.26 christos ACPI_TABLE_HEADER *Table);
656 1.26 christos
657 1.26 christos void
658 1.26 christos AcpiDmDumpCdat (
659 1.26 christos ACPI_TABLE_HEADER *Table);
660 1.26 christos
661 1.26 christos void
662 1.21 christos AcpiDmDumpCedt (
663 1.21 christos ACPI_TABLE_HEADER *Table);
664 1.21 christos
665 1.21 christos void
666 1.1 jruoho AcpiDmDumpCpep (
667 1.1 jruoho ACPI_TABLE_HEADER *Table);
668 1.1 jruoho
669 1.1 jruoho void
670 1.5 christos AcpiDmDumpCsrt (
671 1.5 christos ACPI_TABLE_HEADER *Table);
672 1.5 christos
673 1.5 christos void
674 1.5 christos AcpiDmDumpDbg2 (
675 1.5 christos ACPI_TABLE_HEADER *Table);
676 1.5 christos
677 1.5 christos void
678 1.1 jruoho AcpiDmDumpDmar (
679 1.1 jruoho ACPI_TABLE_HEADER *Table);
680 1.1 jruoho
681 1.1 jruoho void
682 1.8 christos AcpiDmDumpDrtm (
683 1.8 christos ACPI_TABLE_HEADER *Table);
684 1.8 christos
685 1.8 christos void
686 1.1 jruoho AcpiDmDumpEinj (
687 1.1 jruoho ACPI_TABLE_HEADER *Table);
688 1.1 jruoho
689 1.1 jruoho void
690 1.1 jruoho AcpiDmDumpErst (
691 1.1 jruoho ACPI_TABLE_HEADER *Table);
692 1.1 jruoho
693 1.1 jruoho void
694 1.1 jruoho AcpiDmDumpFadt (
695 1.1 jruoho ACPI_TABLE_HEADER *Table);
696 1.1 jruoho
697 1.1 jruoho void
698 1.5 christos AcpiDmDumpFpdt (
699 1.5 christos ACPI_TABLE_HEADER *Table);
700 1.5 christos
701 1.5 christos void
702 1.6 christos AcpiDmDumpGtdt (
703 1.6 christos ACPI_TABLE_HEADER *Table);
704 1.6 christos
705 1.6 christos void
706 1.1 jruoho AcpiDmDumpHest (
707 1.1 jruoho ACPI_TABLE_HEADER *Table);
708 1.1 jruoho
709 1.1 jruoho void
710 1.14 christos AcpiDmDumpHmat (
711 1.14 christos ACPI_TABLE_HEADER *Table);
712 1.14 christos
713 1.14 christos void
714 1.8 christos AcpiDmDumpIort (
715 1.8 christos ACPI_TABLE_HEADER *Table);
716 1.8 christos
717 1.8 christos void
718 1.1 jruoho AcpiDmDumpIvrs (
719 1.1 jruoho ACPI_TABLE_HEADER *Table);
720 1.1 jruoho
721 1.1 jruoho void
722 1.6 christos AcpiDmDumpLpit (
723 1.6 christos ACPI_TABLE_HEADER *Table);
724 1.6 christos
725 1.6 christos void
726 1.5 christos AcpiDmDumpMadt (
727 1.5 christos ACPI_TABLE_HEADER *Table);
728 1.5 christos
729 1.5 christos void
730 1.1 jruoho AcpiDmDumpMcfg (
731 1.1 jruoho ACPI_TABLE_HEADER *Table);
732 1.1 jruoho
733 1.1 jruoho void
734 1.5 christos AcpiDmDumpMpst (
735 1.1 jruoho ACPI_TABLE_HEADER *Table);
736 1.1 jruoho
737 1.1 jruoho void
738 1.1 jruoho AcpiDmDumpMsct (
739 1.1 jruoho ACPI_TABLE_HEADER *Table);
740 1.1 jruoho
741 1.5 christos void
742 1.21 christos AcpiDmDumpNfit (
743 1.5 christos ACPI_TABLE_HEADER *Table);
744 1.5 christos
745 1.5 christos void
746 1.23 christos AcpiDmDumpNhlt (
747 1.23 christos ACPI_TABLE_HEADER *Table);
748 1.23 christos
749 1.23 christos void
750 1.21 christos AcpiDmDumpPcct (
751 1.8 christos ACPI_TABLE_HEADER *Table);
752 1.8 christos
753 1.8 christos void
754 1.21 christos AcpiDmDumpPdtt (
755 1.5 christos ACPI_TABLE_HEADER *Table);
756 1.5 christos
757 1.5 christos void
758 1.21 christos AcpiDmDumpPhat (
759 1.15 christos ACPI_TABLE_HEADER *Table);
760 1.15 christos
761 1.15 christos void
762 1.5 christos AcpiDmDumpPmtt (
763 1.5 christos ACPI_TABLE_HEADER *Table);
764 1.5 christos
765 1.14 christos void
766 1.14 christos AcpiDmDumpPptt (
767 1.14 christos ACPI_TABLE_HEADER *Table);
768 1.14 christos
769 1.22 christos void
770 1.22 christos AcpiDmDumpPrmt (
771 1.22 christos ACPI_TABLE_HEADER *Table);
772 1.22 christos
773 1.22 christos void
774 1.22 christos AcpiDmDumpRgrt (
775 1.22 christos ACPI_TABLE_HEADER *Table);
776 1.22 christos
777 1.1 jruoho UINT32
778 1.1 jruoho AcpiDmDumpRsdp (
779 1.1 jruoho ACPI_TABLE_HEADER *Table);
780 1.1 jruoho
781 1.1 jruoho void
782 1.1 jruoho AcpiDmDumpRsdt (
783 1.1 jruoho ACPI_TABLE_HEADER *Table);
784 1.1 jruoho
785 1.5 christos UINT32
786 1.5 christos AcpiDmDumpS3pt (
787 1.5 christos ACPI_TABLE_HEADER *Table);
788 1.5 christos
789 1.1 jruoho void
790 1.15 christos AcpiDmDumpSdev (
791 1.15 christos ACPI_TABLE_HEADER *Table);
792 1.15 christos
793 1.15 christos void
794 1.4 jruoho AcpiDmDumpSlic (
795 1.4 jruoho ACPI_TABLE_HEADER *Table);
796 1.4 jruoho
797 1.4 jruoho void
798 1.1 jruoho AcpiDmDumpSlit (
799 1.1 jruoho ACPI_TABLE_HEADER *Table);
800 1.1 jruoho
801 1.1 jruoho void
802 1.1 jruoho AcpiDmDumpSrat (
803 1.1 jruoho ACPI_TABLE_HEADER *Table);
804 1.1 jruoho
805 1.1 jruoho void
806 1.8 christos AcpiDmDumpStao (
807 1.8 christos ACPI_TABLE_HEADER *Table);
808 1.8 christos
809 1.8 christos void
810 1.22 christos AcpiDmDumpSvkl (
811 1.22 christos ACPI_TABLE_HEADER *Table);
812 1.22 christos
813 1.22 christos void
814 1.8 christos AcpiDmDumpTcpa (
815 1.8 christos ACPI_TABLE_HEADER *Table);
816 1.8 christos
817 1.8 christos void
818 1.24 christos AcpiDmDumpTdel (
819 1.24 christos ACPI_TABLE_HEADER *Table);
820 1.24 christos
821 1.24 christos void
822 1.15 christos AcpiDmDumpTpm2 (
823 1.15 christos ACPI_TABLE_HEADER *Table);
824 1.15 christos
825 1.15 christos void
826 1.21 christos AcpiDmDumpViot (
827 1.5 christos ACPI_TABLE_HEADER *Table);
828 1.5 christos
829 1.5 christos void
830 1.1 jruoho AcpiDmDumpWdat (
831 1.1 jruoho ACPI_TABLE_HEADER *Table);
832 1.1 jruoho
833 1.1 jruoho void
834 1.8 christos AcpiDmDumpWpbt (
835 1.8 christos ACPI_TABLE_HEADER *Table);
836 1.8 christos
837 1.8 christos void
838 1.1 jruoho AcpiDmDumpXsdt (
839 1.1 jruoho ACPI_TABLE_HEADER *Table);
840 1.1 jruoho
841 1.1 jruoho
842 1.1 jruoho /*
843 1.1 jruoho * dmwalk
844 1.1 jruoho */
845 1.1 jruoho void
846 1.1 jruoho AcpiDmDisassemble (
847 1.1 jruoho ACPI_WALK_STATE *WalkState,
848 1.1 jruoho ACPI_PARSE_OBJECT *Origin,
849 1.1 jruoho UINT32 NumOpcodes);
850 1.1 jruoho
851 1.1 jruoho void
852 1.1 jruoho AcpiDmWalkParseTree (
853 1.1 jruoho ACPI_PARSE_OBJECT *Op,
854 1.1 jruoho ASL_WALK_CALLBACK DescendingCallback,
855 1.1 jruoho ASL_WALK_CALLBACK AscendingCallback,
856 1.1 jruoho void *Context);
857 1.1 jruoho
858 1.1 jruoho
859 1.1 jruoho /*
860 1.1 jruoho * dmopcode
861 1.1 jruoho */
862 1.1 jruoho void
863 1.1 jruoho AcpiDmDisassembleOneOp (
864 1.1 jruoho ACPI_WALK_STATE *WalkState,
865 1.1 jruoho ACPI_OP_WALK_INFO *Info,
866 1.1 jruoho ACPI_PARSE_OBJECT *Op);
867 1.1 jruoho
868 1.1 jruoho UINT32
869 1.1 jruoho AcpiDmListType (
870 1.1 jruoho ACPI_PARSE_OBJECT *Op);
871 1.1 jruoho
872 1.1 jruoho void
873 1.1 jruoho AcpiDmMethodFlags (
874 1.1 jruoho ACPI_PARSE_OBJECT *Op);
875 1.1 jruoho
876 1.1 jruoho void
877 1.6 christos AcpiDmDisplayTargetPathname (
878 1.6 christos ACPI_PARSE_OBJECT *Op);
879 1.6 christos
880 1.6 christos void
881 1.6 christos AcpiDmNotifyDescription (
882 1.6 christos ACPI_PARSE_OBJECT *Op);
883 1.6 christos
884 1.6 christos void
885 1.5 christos AcpiDmPredefinedDescription (
886 1.5 christos ACPI_PARSE_OBJECT *Op);
887 1.5 christos
888 1.5 christos void
889 1.5 christos AcpiDmFieldPredefinedDescription (
890 1.5 christos ACPI_PARSE_OBJECT *Op);
891 1.5 christos
892 1.5 christos void
893 1.1 jruoho AcpiDmFieldFlags (
894 1.1 jruoho ACPI_PARSE_OBJECT *Op);
895 1.1 jruoho
896 1.1 jruoho void
897 1.1 jruoho AcpiDmAddressSpace (
898 1.1 jruoho UINT8 SpaceId);
899 1.1 jruoho
900 1.1 jruoho void
901 1.1 jruoho AcpiDmRegionFlags (
902 1.1 jruoho ACPI_PARSE_OBJECT *Op);
903 1.1 jruoho
904 1.1 jruoho void
905 1.1 jruoho AcpiDmMatchOp (
906 1.1 jruoho ACPI_PARSE_OBJECT *Op);
907 1.1 jruoho
908 1.1 jruoho
909 1.1 jruoho /*
910 1.1 jruoho * dmnames
911 1.1 jruoho */
912 1.1 jruoho UINT32
913 1.1 jruoho AcpiDmDumpName (
914 1.1 jruoho UINT32 Name);
915 1.1 jruoho
916 1.1 jruoho ACPI_STATUS
917 1.1 jruoho AcpiPsDisplayObjectPathname (
918 1.1 jruoho ACPI_WALK_STATE *WalkState,
919 1.1 jruoho ACPI_PARSE_OBJECT *Op);
920 1.1 jruoho
921 1.1 jruoho void
922 1.1 jruoho AcpiDmNamestring (
923 1.1 jruoho char *Name);
924 1.1 jruoho
925 1.1 jruoho
926 1.1 jruoho /*
927 1.1 jruoho * dmbuffer
928 1.1 jruoho */
929 1.1 jruoho void
930 1.1 jruoho AcpiDmDisasmByteList (
931 1.1 jruoho UINT32 Level,
932 1.1 jruoho UINT8 *ByteData,
933 1.1 jruoho UINT32 ByteCount);
934 1.1 jruoho
935 1.1 jruoho void
936 1.1 jruoho AcpiDmByteList (
937 1.1 jruoho ACPI_OP_WALK_INFO *Info,
938 1.1 jruoho ACPI_PARSE_OBJECT *Op);
939 1.1 jruoho
940 1.1 jruoho void
941 1.6 christos AcpiDmCheckForHardwareId (
942 1.1 jruoho ACPI_PARSE_OBJECT *Op);
943 1.1 jruoho
944 1.1 jruoho void
945 1.6 christos AcpiDmDecompressEisaId (
946 1.1 jruoho UINT32 EncodedId);
947 1.1 jruoho
948 1.1 jruoho BOOLEAN
949 1.6 christos AcpiDmIsUuidBuffer (
950 1.6 christos ACPI_PARSE_OBJECT *Op);
951 1.6 christos
952 1.6 christos BOOLEAN
953 1.1 jruoho AcpiDmIsUnicodeBuffer (
954 1.1 jruoho ACPI_PARSE_OBJECT *Op);
955 1.1 jruoho
956 1.1 jruoho BOOLEAN
957 1.1 jruoho AcpiDmIsStringBuffer (
958 1.1 jruoho ACPI_PARSE_OBJECT *Op);
959 1.1 jruoho
960 1.5 christos BOOLEAN
961 1.5 christos AcpiDmIsPldBuffer (
962 1.5 christos ACPI_PARSE_OBJECT *Op);
963 1.5 christos
964 1.5 christos
965 1.5 christos /*
966 1.5 christos * dmdeferred
967 1.5 christos */
968 1.5 christos ACPI_STATUS
969 1.5 christos AcpiDmParseDeferredOps (
970 1.5 christos ACPI_PARSE_OBJECT *Root);
971 1.5 christos
972 1.1 jruoho
973 1.1 jruoho /*
974 1.1 jruoho * dmextern
975 1.1 jruoho */
976 1.3 jruoho ACPI_STATUS
977 1.3 jruoho AcpiDmAddToExternalFileList (
978 1.3 jruoho char *PathList);
979 1.3 jruoho
980 1.3 jruoho void
981 1.3 jruoho AcpiDmClearExternalFileList (
982 1.3 jruoho void);
983 1.3 jruoho
984 1.1 jruoho void
985 1.5 christos AcpiDmAddOpToExternalList (
986 1.1 jruoho ACPI_PARSE_OBJECT *Op,
987 1.1 jruoho char *Path,
988 1.1 jruoho UINT8 Type,
989 1.5 christos UINT32 Value,
990 1.5 christos UINT16 Flags);
991 1.5 christos
992 1.5 christos void
993 1.14 christos AcpiDmCreateSubobjectForExternal (
994 1.14 christos UINT8 Type,
995 1.14 christos ACPI_NAMESPACE_NODE **Node,
996 1.14 christos UINT32 Value);
997 1.14 christos
998 1.14 christos void
999 1.5 christos AcpiDmAddNodeToExternalList (
1000 1.5 christos ACPI_NAMESPACE_NODE *Node,
1001 1.5 christos UINT8 Type,
1002 1.5 christos UINT32 Value,
1003 1.5 christos UINT16 Flags);
1004 1.1 jruoho
1005 1.1 jruoho void
1006 1.14 christos AcpiDmAddExternalListToNamespace (
1007 1.1 jruoho void);
1008 1.1 jruoho
1009 1.14 christos void
1010 1.14 christos AcpiDmAddOneExternalToNamespace (
1011 1.14 christos char *Path,
1012 1.14 christos UINT8 Type,
1013 1.14 christos UINT32 Value);
1014 1.14 christos
1015 1.1 jruoho UINT32
1016 1.14 christos AcpiDmGetUnresolvedExternalMethodCount (
1017 1.1 jruoho void);
1018 1.1 jruoho
1019 1.1 jruoho void
1020 1.1 jruoho AcpiDmClearExternalList (
1021 1.1 jruoho void);
1022 1.1 jruoho
1023 1.1 jruoho void
1024 1.1 jruoho AcpiDmEmitExternals (
1025 1.1 jruoho void);
1026 1.1 jruoho
1027 1.5 christos void
1028 1.13 christos AcpiDmEmitExternal (
1029 1.13 christos ACPI_PARSE_OBJECT *NameOp,
1030 1.13 christos ACPI_PARSE_OBJECT *TypeOp);
1031 1.13 christos
1032 1.13 christos void
1033 1.5 christos AcpiDmUnresolvedWarning (
1034 1.5 christos UINT8 Type);
1035 1.5 christos
1036 1.5 christos void
1037 1.5 christos AcpiDmGetExternalsFromFile (
1038 1.5 christos void);
1039 1.1 jruoho
1040 1.14 christos void
1041 1.14 christos AcpiDmMarkExternalConflict (
1042 1.14 christos ACPI_NAMESPACE_NODE *Node);
1043 1.14 christos
1044 1.14 christos
1045 1.1 jruoho /*
1046 1.1 jruoho * dmresrc
1047 1.1 jruoho */
1048 1.1 jruoho void
1049 1.1 jruoho AcpiDmDumpInteger8 (
1050 1.1 jruoho UINT8 Value,
1051 1.2 jruoho const char *Name);
1052 1.1 jruoho
1053 1.1 jruoho void
1054 1.1 jruoho AcpiDmDumpInteger16 (
1055 1.1 jruoho UINT16 Value,
1056 1.2 jruoho const char *Name);
1057 1.1 jruoho
1058 1.1 jruoho void
1059 1.1 jruoho AcpiDmDumpInteger32 (
1060 1.1 jruoho UINT32 Value,
1061 1.2 jruoho const char *Name);
1062 1.1 jruoho
1063 1.1 jruoho void
1064 1.1 jruoho AcpiDmDumpInteger64 (
1065 1.1 jruoho UINT64 Value,
1066 1.2 jruoho const char *Name);
1067 1.1 jruoho
1068 1.1 jruoho void
1069 1.1 jruoho AcpiDmResourceTemplate (
1070 1.1 jruoho ACPI_OP_WALK_INFO *Info,
1071 1.1 jruoho ACPI_PARSE_OBJECT *Op,
1072 1.1 jruoho UINT8 *ByteData,
1073 1.1 jruoho UINT32 ByteCount);
1074 1.1 jruoho
1075 1.1 jruoho ACPI_STATUS
1076 1.1 jruoho AcpiDmIsResourceTemplate (
1077 1.5 christos ACPI_WALK_STATE *WalkState,
1078 1.1 jruoho ACPI_PARSE_OBJECT *Op);
1079 1.1 jruoho
1080 1.1 jruoho void
1081 1.1 jruoho AcpiDmBitList (
1082 1.1 jruoho UINT16 Mask);
1083 1.1 jruoho
1084 1.1 jruoho void
1085 1.1 jruoho AcpiDmDescriptorName (
1086 1.1 jruoho void);
1087 1.1 jruoho
1088 1.1 jruoho
1089 1.1 jruoho /*
1090 1.1 jruoho * dmresrcl
1091 1.1 jruoho */
1092 1.1 jruoho void
1093 1.1 jruoho AcpiDmWordDescriptor (
1094 1.6 christos ACPI_OP_WALK_INFO *Info,
1095 1.1 jruoho AML_RESOURCE *Resource,
1096 1.1 jruoho UINT32 Length,
1097 1.1 jruoho UINT32 Level);
1098 1.1 jruoho
1099 1.1 jruoho void
1100 1.1 jruoho AcpiDmDwordDescriptor (
1101 1.6 christos ACPI_OP_WALK_INFO *Info,
1102 1.1 jruoho AML_RESOURCE *Resource,
1103 1.1 jruoho UINT32 Length,
1104 1.1 jruoho UINT32 Level);
1105 1.1 jruoho
1106 1.1 jruoho void
1107 1.1 jruoho AcpiDmExtendedDescriptor (
1108 1.6 christos ACPI_OP_WALK_INFO *Info,
1109 1.1 jruoho AML_RESOURCE *Resource,
1110 1.1 jruoho UINT32 Length,
1111 1.1 jruoho UINT32 Level);
1112 1.1 jruoho
1113 1.1 jruoho void
1114 1.1 jruoho AcpiDmQwordDescriptor (
1115 1.6 christos ACPI_OP_WALK_INFO *Info,
1116 1.1 jruoho AML_RESOURCE *Resource,
1117 1.1 jruoho UINT32 Length,
1118 1.1 jruoho UINT32 Level);
1119 1.1 jruoho
1120 1.1 jruoho void
1121 1.1 jruoho AcpiDmMemory24Descriptor (
1122 1.6 christos ACPI_OP_WALK_INFO *Info,
1123 1.1 jruoho AML_RESOURCE *Resource,
1124 1.1 jruoho UINT32 Length,
1125 1.1 jruoho UINT32 Level);
1126 1.1 jruoho
1127 1.1 jruoho void
1128 1.1 jruoho AcpiDmMemory32Descriptor (
1129 1.6 christos ACPI_OP_WALK_INFO *Info,
1130 1.1 jruoho AML_RESOURCE *Resource,
1131 1.1 jruoho UINT32 Length,
1132 1.1 jruoho UINT32 Level);
1133 1.1 jruoho
1134 1.1 jruoho void
1135 1.1 jruoho AcpiDmFixedMemory32Descriptor (
1136 1.6 christos ACPI_OP_WALK_INFO *Info,
1137 1.1 jruoho AML_RESOURCE *Resource,
1138 1.1 jruoho UINT32 Length,
1139 1.1 jruoho UINT32 Level);
1140 1.1 jruoho
1141 1.1 jruoho void
1142 1.1 jruoho AcpiDmGenericRegisterDescriptor (
1143 1.6 christos ACPI_OP_WALK_INFO *Info,
1144 1.1 jruoho AML_RESOURCE *Resource,
1145 1.1 jruoho UINT32 Length,
1146 1.1 jruoho UINT32 Level);
1147 1.1 jruoho
1148 1.1 jruoho void
1149 1.1 jruoho AcpiDmInterruptDescriptor (
1150 1.6 christos ACPI_OP_WALK_INFO *Info,
1151 1.1 jruoho AML_RESOURCE *Resource,
1152 1.1 jruoho UINT32 Length,
1153 1.1 jruoho UINT32 Level);
1154 1.1 jruoho
1155 1.1 jruoho void
1156 1.1 jruoho AcpiDmVendorLargeDescriptor (
1157 1.6 christos ACPI_OP_WALK_INFO *Info,
1158 1.1 jruoho AML_RESOURCE *Resource,
1159 1.1 jruoho UINT32 Length,
1160 1.1 jruoho UINT32 Level);
1161 1.1 jruoho
1162 1.1 jruoho void
1163 1.5 christos AcpiDmGpioDescriptor (
1164 1.6 christos ACPI_OP_WALK_INFO *Info,
1165 1.5 christos AML_RESOURCE *Resource,
1166 1.5 christos UINT32 Length,
1167 1.5 christos UINT32 Level);
1168 1.5 christos
1169 1.5 christos void
1170 1.14 christos AcpiDmPinFunctionDescriptor (
1171 1.14 christos ACPI_OP_WALK_INFO *Info,
1172 1.14 christos AML_RESOURCE *Resource,
1173 1.14 christos UINT32 Length,
1174 1.14 christos UINT32 Level);
1175 1.14 christos
1176 1.14 christos void
1177 1.14 christos AcpiDmPinConfigDescriptor (
1178 1.14 christos ACPI_OP_WALK_INFO *Info,
1179 1.14 christos AML_RESOURCE *Resource,
1180 1.14 christos UINT32 Length,
1181 1.14 christos UINT32 Level);
1182 1.14 christos
1183 1.14 christos void
1184 1.14 christos AcpiDmPinGroupDescriptor (
1185 1.14 christos ACPI_OP_WALK_INFO *Info,
1186 1.14 christos AML_RESOURCE *Resource,
1187 1.14 christos UINT32 Length,
1188 1.14 christos UINT32 Level);
1189 1.14 christos
1190 1.14 christos void
1191 1.14 christos AcpiDmPinGroupFunctionDescriptor (
1192 1.14 christos ACPI_OP_WALK_INFO *Info,
1193 1.14 christos AML_RESOURCE *Resource,
1194 1.14 christos UINT32 Length,
1195 1.14 christos UINT32 Level);
1196 1.14 christos
1197 1.14 christos void
1198 1.14 christos AcpiDmPinGroupConfigDescriptor (
1199 1.14 christos ACPI_OP_WALK_INFO *Info,
1200 1.14 christos AML_RESOURCE *Resource,
1201 1.14 christos UINT32 Length,
1202 1.14 christos UINT32 Level);
1203 1.14 christos
1204 1.14 christos void
1205 1.5 christos AcpiDmSerialBusDescriptor (
1206 1.6 christos ACPI_OP_WALK_INFO *Info,
1207 1.5 christos AML_RESOURCE *Resource,
1208 1.5 christos UINT32 Length,
1209 1.5 christos UINT32 Level);
1210 1.5 christos
1211 1.5 christos void
1212 1.1 jruoho AcpiDmVendorCommon (
1213 1.2 jruoho const char *Name,
1214 1.1 jruoho UINT8 *ByteData,
1215 1.1 jruoho UINT32 Length,
1216 1.1 jruoho UINT32 Level);
1217 1.1 jruoho
1218 1.1 jruoho
1219 1.1 jruoho /*
1220 1.1 jruoho * dmresrcs
1221 1.1 jruoho */
1222 1.1 jruoho void
1223 1.1 jruoho AcpiDmIrqDescriptor (
1224 1.6 christos ACPI_OP_WALK_INFO *Info,
1225 1.1 jruoho AML_RESOURCE *Resource,
1226 1.1 jruoho UINT32 Length,
1227 1.1 jruoho UINT32 Level);
1228 1.1 jruoho
1229 1.1 jruoho void
1230 1.1 jruoho AcpiDmDmaDescriptor (
1231 1.6 christos ACPI_OP_WALK_INFO *Info,
1232 1.1 jruoho AML_RESOURCE *Resource,
1233 1.1 jruoho UINT32 Length,
1234 1.1 jruoho UINT32 Level);
1235 1.1 jruoho
1236 1.1 jruoho void
1237 1.5 christos AcpiDmFixedDmaDescriptor (
1238 1.6 christos ACPI_OP_WALK_INFO *Info,
1239 1.5 christos AML_RESOURCE *Resource,
1240 1.5 christos UINT32 Length,
1241 1.5 christos UINT32 Level);
1242 1.5 christos
1243 1.5 christos void
1244 1.1 jruoho AcpiDmIoDescriptor (
1245 1.6 christos ACPI_OP_WALK_INFO *Info,
1246 1.1 jruoho AML_RESOURCE *Resource,
1247 1.1 jruoho UINT32 Length,
1248 1.1 jruoho UINT32 Level);
1249 1.1 jruoho
1250 1.1 jruoho void
1251 1.1 jruoho AcpiDmFixedIoDescriptor (
1252 1.6 christos ACPI_OP_WALK_INFO *Info,
1253 1.1 jruoho AML_RESOURCE *Resource,
1254 1.1 jruoho UINT32 Length,
1255 1.1 jruoho UINT32 Level);
1256 1.1 jruoho
1257 1.1 jruoho void
1258 1.1 jruoho AcpiDmStartDependentDescriptor (
1259 1.6 christos ACPI_OP_WALK_INFO *Info,
1260 1.1 jruoho AML_RESOURCE *Resource,
1261 1.1 jruoho UINT32 Length,
1262 1.1 jruoho UINT32 Level);
1263 1.1 jruoho
1264 1.1 jruoho void
1265 1.1 jruoho AcpiDmEndDependentDescriptor (
1266 1.6 christos ACPI_OP_WALK_INFO *Info,
1267 1.1 jruoho AML_RESOURCE *Resource,
1268 1.1 jruoho UINT32 Length,
1269 1.1 jruoho UINT32 Level);
1270 1.1 jruoho
1271 1.1 jruoho void
1272 1.1 jruoho AcpiDmVendorSmallDescriptor (
1273 1.6 christos ACPI_OP_WALK_INFO *Info,
1274 1.1 jruoho AML_RESOURCE *Resource,
1275 1.1 jruoho UINT32 Length,
1276 1.1 jruoho UINT32 Level);
1277 1.1 jruoho
1278 1.1 jruoho
1279 1.1 jruoho /*
1280 1.1 jruoho * dmutils
1281 1.1 jruoho */
1282 1.1 jruoho void
1283 1.1 jruoho AcpiDmDecodeAttribute (
1284 1.1 jruoho UINT8 Attribute);
1285 1.1 jruoho
1286 1.1 jruoho void
1287 1.1 jruoho AcpiDmIndent (
1288 1.1 jruoho UINT32 Level);
1289 1.1 jruoho
1290 1.1 jruoho BOOLEAN
1291 1.1 jruoho AcpiDmCommaIfListMember (
1292 1.1 jruoho ACPI_PARSE_OBJECT *Op);
1293 1.1 jruoho
1294 1.1 jruoho void
1295 1.1 jruoho AcpiDmCommaIfFieldMember (
1296 1.1 jruoho ACPI_PARSE_OBJECT *Op);
1297 1.1 jruoho
1298 1.1 jruoho
1299 1.1 jruoho /*
1300 1.1 jruoho * dmrestag
1301 1.1 jruoho */
1302 1.1 jruoho void
1303 1.1 jruoho AcpiDmFindResources (
1304 1.1 jruoho ACPI_PARSE_OBJECT *Root);
1305 1.1 jruoho
1306 1.1 jruoho void
1307 1.1 jruoho AcpiDmCheckResourceReference (
1308 1.1 jruoho ACPI_PARSE_OBJECT *Op,
1309 1.1 jruoho ACPI_WALK_STATE *WalkState);
1310 1.1 jruoho
1311 1.3 jruoho
1312 1.3 jruoho /*
1313 1.7 christos * dmcstyle
1314 1.7 christos */
1315 1.7 christos BOOLEAN
1316 1.7 christos AcpiDmCheckForSymbolicOpcode (
1317 1.7 christos ACPI_PARSE_OBJECT *Op,
1318 1.7 christos ACPI_OP_WALK_INFO *Info);
1319 1.7 christos
1320 1.7 christos void
1321 1.7 christos AcpiDmCloseOperator (
1322 1.7 christos ACPI_PARSE_OBJECT *Op);
1323 1.7 christos
1324 1.7 christos
1325 1.7 christos /*
1326 1.9 christos * dmtables
1327 1.3 jruoho */
1328 1.14 christos ACPI_STATUS
1329 1.14 christos AcpiDmProcessSwitch (
1330 1.14 christos ACPI_PARSE_OBJECT *Op);
1331 1.14 christos
1332 1.14 christos void
1333 1.14 christos AcpiDmClearTempList(
1334 1.14 christos void);
1335 1.14 christos
1336 1.14 christos /*
1337 1.14 christos * dmtables
1338 1.14 christos */
1339 1.3 jruoho void
1340 1.3 jruoho AdDisassemblerHeader (
1341 1.7 christos char *Filename,
1342 1.7 christos UINT8 TableType);
1343 1.3 jruoho
1344 1.7 christos #define ACPI_IS_AML_TABLE 0
1345 1.7 christos #define ACPI_IS_DATA_TABLE 1
1346 1.3 jruoho
1347 1.9 christos
1348 1.9 christos /*
1349 1.9 christos * adisasm
1350 1.9 christos */
1351 1.9 christos ACPI_STATUS
1352 1.9 christos AdAmlDisassemble (
1353 1.9 christos BOOLEAN OutToFile,
1354 1.9 christos char *Filename,
1355 1.9 christos char *Prefix,
1356 1.9 christos char **OutFilename);
1357 1.9 christos
1358 1.9 christos ACPI_STATUS
1359 1.9 christos AdGetLocalTables (
1360 1.9 christos void);
1361 1.9 christos
1362 1.9 christos ACPI_STATUS
1363 1.9 christos AdParseTable (
1364 1.9 christos ACPI_TABLE_HEADER *Table,
1365 1.9 christos ACPI_OWNER_ID *OwnerId,
1366 1.9 christos BOOLEAN LoadTable,
1367 1.9 christos BOOLEAN External);
1368 1.9 christos
1369 1.9 christos ACPI_STATUS
1370 1.9 christos AdDisplayTables (
1371 1.9 christos char *Filename,
1372 1.9 christos ACPI_TABLE_HEADER *Table);
1373 1.9 christos
1374 1.9 christos ACPI_STATUS
1375 1.9 christos AdDisplayStatistics (
1376 1.9 christos void);
1377 1.9 christos
1378 1.13 christos
1379 1.13 christos /*
1380 1.13 christos * dmwalk
1381 1.13 christos */
1382 1.13 christos UINT32
1383 1.13 christos AcpiDmBlockType (
1384 1.13 christos ACPI_PARSE_OBJECT *Op);
1385 1.13 christos
1386 1.13 christos
1387 1.1 jruoho #endif /* __ACDISASM_H__ */
1388