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