1 /******************************************************************************
3 * Name: acdisasm.h - AML disassembler
5 *****************************************************************************/
8 * Copyright (C) 2000 - 2016, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
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.
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.
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.
44 #ifndef __ACDISASM_H__
45 #define __ACDISASM_H__
53 #define BLOCK_COMMA_LIST 4
54 #define ACPI_DEFAULT_RESNAME *(UINT32 *) "__RD"
57 * Raw table data header. Used by disassembler and data table compiler.
60 #define ACPI_RAW_TABLE_DATA_HEADER "Raw Table Data"
63 typedef struct acpi_dmtable_info
72 /* Values for Flags field above */
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 */
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.
88 /* Simple Data Types */
120 /* Types that are decoded to strings and miscellaneous */
129 /* Types used only for the Data Table Compiler */
132 ACPI_DMT_RAW_BUFFER
, /* Large, multiple line buffer */
133 ACPI_DMT_DEVICE_PATH
,
137 /* Types that are specific to particular ACPI tables */
161 /* Special opcodes */
169 void (*ACPI_DMTABLE_HANDLER
) (
170 ACPI_TABLE_HEADER
*Table
);
173 ACPI_STATUS (*ACPI_CMTABLE_HANDLER
) (
176 typedef struct acpi_dmtable_data
179 ACPI_DMTABLE_INFO
*TableInfo
;
180 ACPI_DMTABLE_HANDLER TableHandler
;
181 ACPI_CMTABLE_HANDLER CmTableHandler
;
182 const unsigned char *Template
;
187 typedef struct acpi_op_walk_info
189 ACPI_WALK_STATE
*WalkState
;
190 ACPI_PARSE_OBJECT
*MappingOp
;
203 * TBD - another copy of this is in asltypes.h, fix
205 #ifndef ASL_WALK_CALLBACK_DEFINED
207 ACPI_STATUS (*ASL_WALK_CALLBACK
) (
208 ACPI_PARSE_OBJECT
*Op
,
211 #define ASL_WALK_CALLBACK_DEFINED
215 void (*ACPI_RESOURCE_HANDLER
) (
216 ACPI_OP_WALK_INFO
*Info
,
217 AML_RESOURCE
*Resource
,
221 typedef struct acpi_resource_tag
228 /* Strings used for decoding flags to ASL keywords */
230 extern const char *AcpiGbl_WordDecode
[];
231 extern const char *AcpiGbl_IrqDecode
[];
232 extern const char *AcpiGbl_LockRule
[];
233 extern const char *AcpiGbl_AccessTypes
[];
234 extern const char *AcpiGbl_UpdateRules
[];
235 extern const char *AcpiGbl_MatchOps
[];
237 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf0
[];
238 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1
[];
239 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1a
[];
240 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2
[];
241 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf2a
[];
242 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf3
[];
243 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf4
[];
244 extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsfHdr
[];
245 extern ACPI_DMTABLE_INFO AcpiDmTableInfoBoot
[];
246 extern ACPI_DMTABLE_INFO AcpiDmTableInfoBert
[];
247 extern ACPI_DMTABLE_INFO AcpiDmTableInfoBgrt
[];
248 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep
[];
249 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep0
[];
250 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt0
[];
251 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt1
[];
252 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2
[];
253 extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt2a
[];
254 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2
[];
255 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Device
[];
256 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Addr
[];
257 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Size
[];
258 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2Name
[];
259 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbg2OemData
[];
260 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDbgp
[];
261 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar
[];
262 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarHdr
[];
263 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmarScope
[];
264 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar0
[];
265 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar1
[];
266 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar2
[];
267 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar3
[];
268 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar4
[];
269 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm
[];
270 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0
[];
271 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0a
[];
272 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1
[];
273 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm1a
[];
274 extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm2
[];
275 extern ACPI_DMTABLE_INFO AcpiDmTableInfoEcdt
[];
276 extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj
[];
277 extern ACPI_DMTABLE_INFO AcpiDmTableInfoEinj0
[];
278 extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst
[];
279 extern ACPI_DMTABLE_INFO AcpiDmTableInfoErst0
[];
280 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFacs
[];
281 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt1
[];
282 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt2
[];
283 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt3
[];
284 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt5
[];
285 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFadt6
[];
286 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt
[];
287 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdtHdr
[];
288 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt0
[];
289 extern ACPI_DMTABLE_INFO AcpiDmTableInfoFpdt1
[];
290 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGas
[];
291 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt
[];
292 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdtHdr
[];
293 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0
[];
294 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt0a
[];
295 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGtdt1
[];
296 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHeader
[];
297 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest
[];
298 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest0
[];
299 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest1
[];
300 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest2
[];
301 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest6
[];
302 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest7
[];
303 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest8
[];
304 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest9
[];
305 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHest10
[];
306 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestNotify
[];
307 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHestBank
[];
308 extern ACPI_DMTABLE_INFO AcpiDmTableInfoHpet
[];
309 extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpitHdr
[];
310 extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit0
[];
311 extern ACPI_DMTABLE_INFO AcpiDmTableInfoLpit1
[];
312 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort
[];
313 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0
[];
314 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort0a
[];
315 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1
[];
316 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort1a
[];
317 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort2
[];
318 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3
[];
319 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3a
[];
320 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3b
[];
321 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort3c
[];
322 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIort4
[];
323 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortAcc
[];
324 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr
[];
325 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortMap
[];
326 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIortPad
[];
327 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs
[];
328 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs0
[];
329 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs1
[];
330 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs4
[];
331 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8a
[];
332 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8b
[];
333 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8c
[];
334 extern ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHdr
[];
335 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt
[];
336 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt0
[];
337 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt1
[];
338 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt2
[];
339 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt3
[];
340 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt4
[];
341 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt5
[];
342 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt6
[];
343 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt7
[];
344 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt8
[];
345 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt9
[];
346 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt10
[];
347 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt11
[];
348 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt12
[];
349 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt13
[];
350 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt14
[];
351 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt15
[];
352 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadtHdr
[];
353 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg
[];
354 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg0
[];
355 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMchi
[];
356 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst
[];
357 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0
[];
358 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0A
[];
359 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0B
[];
360 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst1
[];
361 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMpst2
[];
362 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct
[];
363 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMsct0
[];
364 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMtmr
[];
365 extern ACPI_DMTABLE_INFO AcpiDmTableInfoMtmr0
[];
366 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit
[];
367 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfitHdr
[];
368 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit0
[];
369 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit1
[];
370 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2
[];
371 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2a
[];
372 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3
[];
373 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3a
[];
374 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit4
[];
375 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit5
[];
376 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6
[];
377 extern ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6a
[];
378 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt
[];
379 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt0
[];
380 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1
[];
381 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1a
[];
382 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt2
[];
383 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPmttHdr
[];
384 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct
[];
385 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcctHdr
[];
386 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct0
[];
387 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct1
[];
388 extern ACPI_DMTABLE_INFO AcpiDmTableInfoPcct2
[];
389 extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp1
[];
390 extern ACPI_DMTABLE_INFO AcpiDmTableInfoRsdp2
[];
391 extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt
[];
392 extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3ptHdr
[];
393 extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt0
[];
394 extern ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt1
[];
395 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSbst
[];
396 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlic
[];
397 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSlit
[];
398 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpcr
[];
399 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSpmi
[];
400 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat
[];
401 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSratHdr
[];
402 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat0
[];
403 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat1
[];
404 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat2
[];
405 extern ACPI_DMTABLE_INFO AcpiDmTableInfoSrat3
[];
406 extern ACPI_DMTABLE_INFO AcpiDmTableInfoStao
[];
407 extern ACPI_DMTABLE_INFO AcpiDmTableInfoStaoStr
[];
408 extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaHdr
[];
409 extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaClient
[];
410 extern ACPI_DMTABLE_INFO AcpiDmTableInfoTcpaServer
[];
411 extern ACPI_DMTABLE_INFO AcpiDmTableInfoTpm2
[];
412 extern ACPI_DMTABLE_INFO AcpiDmTableInfoUefi
[];
413 extern ACPI_DMTABLE_INFO AcpiDmTableInfoVrtc
[];
414 extern ACPI_DMTABLE_INFO AcpiDmTableInfoVrtc0
[];
415 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWaet
[];
416 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat
[];
417 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdat0
[];
418 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWddt
[];
419 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWdrt
[];
420 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt
[];
421 extern ACPI_DMTABLE_INFO AcpiDmTableInfoWpbt0
[];
422 extern ACPI_DMTABLE_INFO AcpiDmTableInfoXenv
[];
424 extern ACPI_DMTABLE_INFO AcpiDmTableInfoGeneric
[][2];
427 * dmtable and ahtable
429 extern const ACPI_DMTABLE_DATA AcpiDmTableData
[];
430 extern const AH_TABLE AcpiSupportedTables
[];
433 AcpiDmGenerateChecksum (
436 UINT8 OriginalChecksum
);
438 const ACPI_DMTABLE_DATA
*
443 AcpiDmDumpDataTable (
444 ACPI_TABLE_HEADER
*Table
);
451 UINT32 SubTableLength
,
452 ACPI_DMTABLE_INFO
*Info
);
476 UINT32 AbsoluteOffset
,
487 ACPI_TABLE_HEADER
*Table
);
491 ACPI_TABLE_HEADER
*Table
);
495 ACPI_TABLE_HEADER
*Table
);
499 ACPI_TABLE_HEADER
*Table
);
503 ACPI_TABLE_HEADER
*Table
);
507 ACPI_TABLE_HEADER
*Table
);
511 ACPI_TABLE_HEADER
*Table
);
515 ACPI_TABLE_HEADER
*Table
);
519 ACPI_TABLE_HEADER
*Table
);
523 ACPI_TABLE_HEADER
*Table
);
527 ACPI_TABLE_HEADER
*Table
);
531 ACPI_TABLE_HEADER
*Table
);
535 ACPI_TABLE_HEADER
*Table
);
539 ACPI_TABLE_HEADER
*Table
);
543 ACPI_TABLE_HEADER
*Table
);
547 ACPI_TABLE_HEADER
*Table
);
551 ACPI_TABLE_HEADER
*Table
);
555 ACPI_TABLE_HEADER
*Table
);
559 ACPI_TABLE_HEADER
*Table
);
563 ACPI_TABLE_HEADER
*Table
);
567 ACPI_TABLE_HEADER
*Table
);
571 ACPI_TABLE_HEADER
*Table
);
575 ACPI_TABLE_HEADER
*Table
);
579 ACPI_TABLE_HEADER
*Table
);
583 ACPI_TABLE_HEADER
*Table
);
587 ACPI_TABLE_HEADER
*Table
);
591 ACPI_TABLE_HEADER
*Table
);
595 ACPI_TABLE_HEADER
*Table
);
599 ACPI_TABLE_HEADER
*Table
);
603 ACPI_TABLE_HEADER
*Table
);
607 ACPI_TABLE_HEADER
*Table
);
611 ACPI_TABLE_HEADER
*Table
);
615 ACPI_TABLE_HEADER
*Table
);
619 ACPI_TABLE_HEADER
*Table
);
623 ACPI_TABLE_HEADER
*Table
);
631 ACPI_WALK_STATE
*WalkState
,
632 ACPI_PARSE_OBJECT
*Origin
,
636 AcpiDmWalkParseTree (
637 ACPI_PARSE_OBJECT
*Op
,
638 ASL_WALK_CALLBACK DescendingCallback
,
639 ASL_WALK_CALLBACK AscendingCallback
,
647 AcpiDmDisassembleOneOp (
648 ACPI_WALK_STATE
*WalkState
,
649 ACPI_OP_WALK_INFO
*Info
,
650 ACPI_PARSE_OBJECT
*Op
);
654 ACPI_PARSE_OBJECT
*Op
);
658 ACPI_PARSE_OBJECT
*Op
);
661 AcpiDmDisplayTargetPathname (
662 ACPI_PARSE_OBJECT
*Op
);
665 AcpiDmNotifyDescription (
666 ACPI_PARSE_OBJECT
*Op
);
669 AcpiDmPredefinedDescription (
670 ACPI_PARSE_OBJECT
*Op
);
673 AcpiDmFieldPredefinedDescription (
674 ACPI_PARSE_OBJECT
*Op
);
678 ACPI_PARSE_OBJECT
*Op
);
686 ACPI_PARSE_OBJECT
*Op
);
690 ACPI_PARSE_OBJECT
*Op
);
701 AcpiPsDisplayObjectPathname (
702 ACPI_WALK_STATE
*WalkState
,
703 ACPI_PARSE_OBJECT
*Op
);
714 AcpiDmDisasmByteList (
721 ACPI_OP_WALK_INFO
*Info
,
722 ACPI_PARSE_OBJECT
*Op
);
725 AcpiDmCheckForHardwareId (
726 ACPI_PARSE_OBJECT
*Op
);
729 AcpiDmDecompressEisaId (
734 ACPI_PARSE_OBJECT
*Op
);
737 AcpiDmIsUnicodeBuffer (
738 ACPI_PARSE_OBJECT
*Op
);
741 AcpiDmIsStringBuffer (
742 ACPI_PARSE_OBJECT
*Op
);
746 ACPI_PARSE_OBJECT
*Op
);
753 AcpiDmParseDeferredOps (
754 ACPI_PARSE_OBJECT
*Root
);
761 AcpiDmAddToExternalFileList (
765 AcpiDmClearExternalFileList (
769 AcpiDmAddOpToExternalList (
770 ACPI_PARSE_OBJECT
*Op
,
777 AcpiDmAddNodeToExternalList (
778 ACPI_NAMESPACE_NODE
*Node
,
784 AcpiDmAddExternalsToNamespace (
788 AcpiDmGetExternalMethodCount (
792 AcpiDmClearExternalList (
796 AcpiDmEmitExternals (
800 AcpiDmUnresolvedWarning (
804 AcpiDmGetExternalsFromFile (
816 AcpiDmDumpInteger16 (
821 AcpiDmDumpInteger32 (
826 AcpiDmDumpInteger64 (
831 AcpiDmResourceTemplate (
832 ACPI_OP_WALK_INFO
*Info
,
833 ACPI_PARSE_OBJECT
*Op
,
838 AcpiDmIsResourceTemplate (
839 ACPI_WALK_STATE
*WalkState
,
840 ACPI_PARSE_OBJECT
*Op
);
847 AcpiDmDescriptorName (
855 AcpiDmWordDescriptor (
856 ACPI_OP_WALK_INFO
*Info
,
857 AML_RESOURCE
*Resource
,
862 AcpiDmDwordDescriptor (
863 ACPI_OP_WALK_INFO
*Info
,
864 AML_RESOURCE
*Resource
,
869 AcpiDmExtendedDescriptor (
870 ACPI_OP_WALK_INFO
*Info
,
871 AML_RESOURCE
*Resource
,
876 AcpiDmQwordDescriptor (
877 ACPI_OP_WALK_INFO
*Info
,
878 AML_RESOURCE
*Resource
,
883 AcpiDmMemory24Descriptor (
884 ACPI_OP_WALK_INFO
*Info
,
885 AML_RESOURCE
*Resource
,
890 AcpiDmMemory32Descriptor (
891 ACPI_OP_WALK_INFO
*Info
,
892 AML_RESOURCE
*Resource
,
897 AcpiDmFixedMemory32Descriptor (
898 ACPI_OP_WALK_INFO
*Info
,
899 AML_RESOURCE
*Resource
,
904 AcpiDmGenericRegisterDescriptor (
905 ACPI_OP_WALK_INFO
*Info
,
906 AML_RESOURCE
*Resource
,
911 AcpiDmInterruptDescriptor (
912 ACPI_OP_WALK_INFO
*Info
,
913 AML_RESOURCE
*Resource
,
918 AcpiDmVendorLargeDescriptor (
919 ACPI_OP_WALK_INFO
*Info
,
920 AML_RESOURCE
*Resource
,
925 AcpiDmGpioDescriptor (
926 ACPI_OP_WALK_INFO
*Info
,
927 AML_RESOURCE
*Resource
,
932 AcpiDmSerialBusDescriptor (
933 ACPI_OP_WALK_INFO
*Info
,
934 AML_RESOURCE
*Resource
,
950 AcpiDmIrqDescriptor (
951 ACPI_OP_WALK_INFO
*Info
,
952 AML_RESOURCE
*Resource
,
957 AcpiDmDmaDescriptor (
958 ACPI_OP_WALK_INFO
*Info
,
959 AML_RESOURCE
*Resource
,
964 AcpiDmFixedDmaDescriptor (
965 ACPI_OP_WALK_INFO
*Info
,
966 AML_RESOURCE
*Resource
,
972 ACPI_OP_WALK_INFO
*Info
,
973 AML_RESOURCE
*Resource
,
978 AcpiDmFixedIoDescriptor (
979 ACPI_OP_WALK_INFO
*Info
,
980 AML_RESOURCE
*Resource
,
985 AcpiDmStartDependentDescriptor (
986 ACPI_OP_WALK_INFO
*Info
,
987 AML_RESOURCE
*Resource
,
992 AcpiDmEndDependentDescriptor (
993 ACPI_OP_WALK_INFO
*Info
,
994 AML_RESOURCE
*Resource
,
999 AcpiDmVendorSmallDescriptor (
1000 ACPI_OP_WALK_INFO
*Info
,
1001 AML_RESOURCE
*Resource
,
1010 AcpiDmDecodeAttribute (
1018 AcpiDmCommaIfListMember (
1019 ACPI_PARSE_OBJECT
*Op
);
1022 AcpiDmCommaIfFieldMember (
1023 ACPI_PARSE_OBJECT
*Op
);
1030 AcpiDmFindResources (
1031 ACPI_PARSE_OBJECT
*Root
);
1034 AcpiDmCheckResourceReference (
1035 ACPI_PARSE_OBJECT
*Op
,
1036 ACPI_WALK_STATE
*WalkState
);
1043 AcpiDmCheckForSymbolicOpcode (
1044 ACPI_PARSE_OBJECT
*Op
,
1045 ACPI_OP_WALK_INFO
*Info
);
1048 AcpiDmCloseOperator (
1049 ACPI_PARSE_OBJECT
*Op
);
1056 AdDisassemblerHeader (
1060 #define ACPI_IS_AML_TABLE 0
1061 #define ACPI_IS_DATA_TABLE 1
1072 char **OutFilename
);
1080 ACPI_TABLE_HEADER
*Table
,
1081 ACPI_OWNER_ID
*OwnerId
,
1088 ACPI_TABLE_HEADER
*Table
);
1091 AdDisplayStatistics (
1094 #endif /* __ACDISASM_H__ */