xref: /illumos-gate/usr/src/uts/intel/sys/acpi/acdisasm.h (revision 35786f68)
17c478bd9Sstevel@tonic-gate /******************************************************************************
27c478bd9Sstevel@tonic-gate  *
37c478bd9Sstevel@tonic-gate  * Name: acdisasm.h - AML disassembler
47c478bd9Sstevel@tonic-gate  *
57c478bd9Sstevel@tonic-gate  *****************************************************************************/
67c478bd9Sstevel@tonic-gate 
7*35786f68SRobert Mustacchi /******************************************************************************
8*35786f68SRobert Mustacchi  *
9*35786f68SRobert Mustacchi  * 1. Copyright Notice
10*35786f68SRobert Mustacchi  *
11*35786f68SRobert Mustacchi  * Some or all of this work - Copyright (c) 1999 - 2018, Intel Corp.
127c478bd9Sstevel@tonic-gate  * All rights reserved.
137c478bd9Sstevel@tonic-gate  *
14*35786f68SRobert Mustacchi  * 2. License
15*35786f68SRobert Mustacchi  *
16*35786f68SRobert Mustacchi  * 2.1. This is your license from Intel Corp. under its intellectual property
17*35786f68SRobert Mustacchi  * rights. You may have additional license terms from the party that provided
18*35786f68SRobert Mustacchi  * you this software, covering your right to use that party's intellectual
19*35786f68SRobert Mustacchi  * property rights.
20*35786f68SRobert Mustacchi  *
21*35786f68SRobert Mustacchi  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22*35786f68SRobert Mustacchi  * copy of the source code appearing in this file ("Covered Code") an
23*35786f68SRobert Mustacchi  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24*35786f68SRobert Mustacchi  * base code distributed originally by Intel ("Original Intel Code") to copy,
25*35786f68SRobert Mustacchi  * make derivatives, distribute, use and display any portion of the Covered
26*35786f68SRobert Mustacchi  * Code in any form, with the right to sublicense such rights; and
27*35786f68SRobert Mustacchi  *
28*35786f68SRobert Mustacchi  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29*35786f68SRobert Mustacchi  * license (with the right to sublicense), under only those claims of Intel
30*35786f68SRobert Mustacchi  * patents that are infringed by the Original Intel Code, to make, use, sell,
31*35786f68SRobert Mustacchi  * offer to sell, and import the Covered Code and derivative works thereof
32*35786f68SRobert Mustacchi  * solely to the minimum extent necessary to exercise the above copyright
33*35786f68SRobert Mustacchi  * license, and in no event shall the patent license extend to any additions
34*35786f68SRobert Mustacchi  * to or modifications of the Original Intel Code. No other license or right
35*35786f68SRobert Mustacchi  * is granted directly or by implication, estoppel or otherwise;
36*35786f68SRobert Mustacchi  *
37*35786f68SRobert Mustacchi  * The above copyright and patent license is granted only if the following
38*35786f68SRobert Mustacchi  * conditions are met:
39*35786f68SRobert Mustacchi  *
40*35786f68SRobert Mustacchi  * 3. Conditions
41*35786f68SRobert Mustacchi  *
42*35786f68SRobert Mustacchi  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43*35786f68SRobert Mustacchi  * Redistribution of source code of any substantial portion of the Covered
44*35786f68SRobert Mustacchi  * Code or modification with rights to further distribute source must include
45*35786f68SRobert Mustacchi  * the above Copyright Notice, the above License, this list of Conditions,
46*35786f68SRobert Mustacchi  * and the following Disclaimer and Export Compliance provision. In addition,
47*35786f68SRobert Mustacchi  * Licensee must cause all Covered Code to which Licensee contributes to
48*35786f68SRobert Mustacchi  * contain a file documenting the changes Licensee made to create that Covered
49*35786f68SRobert Mustacchi  * Code and the date of any change. Licensee must include in that file the
50*35786f68SRobert Mustacchi  * documentation of any changes made by any predecessor Licensee. Licensee
51*35786f68SRobert Mustacchi  * must include a prominent statement that the modification is derived,
52*35786f68SRobert Mustacchi  * directly or indirectly, from Original Intel Code.
53*35786f68SRobert Mustacchi  *
54*35786f68SRobert Mustacchi  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55*35786f68SRobert Mustacchi  * Redistribution of source code of any substantial portion of the Covered
56*35786f68SRobert Mustacchi  * Code or modification without rights to further distribute source must
57*35786f68SRobert Mustacchi  * include the following Disclaimer and Export Compliance provision in the
58*35786f68SRobert Mustacchi  * documentation and/or other materials provided with distribution. In
59*35786f68SRobert Mustacchi  * addition, Licensee may not authorize further sublicense of source of any
60*35786f68SRobert Mustacchi  * portion of the Covered Code, and must include terms to the effect that the
61*35786f68SRobert Mustacchi  * license from Licensee to its licensee is limited to the intellectual
62*35786f68SRobert Mustacchi  * property embodied in the software Licensee provides to its licensee, and
63*35786f68SRobert Mustacchi  * not to intellectual property embodied in modifications its licensee may
64*35786f68SRobert Mustacchi  * make.
65*35786f68SRobert Mustacchi  *
66*35786f68SRobert Mustacchi  * 3.3. Redistribution of Executable. Redistribution in executable form of any
67*35786f68SRobert Mustacchi  * substantial portion of the Covered Code or modification must reproduce the
68*35786f68SRobert Mustacchi  * above Copyright Notice, and the following Disclaimer and Export Compliance
69*35786f68SRobert Mustacchi  * provision in the documentation and/or other materials provided with the
70*35786f68SRobert Mustacchi  * distribution.
71*35786f68SRobert Mustacchi  *
72*35786f68SRobert Mustacchi  * 3.4. Intel retains all right, title, and interest in and to the Original
73*35786f68SRobert Mustacchi  * Intel Code.
74*35786f68SRobert Mustacchi  *
75*35786f68SRobert Mustacchi  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76*35786f68SRobert Mustacchi  * Intel shall be used in advertising or otherwise to promote the sale, use or
77*35786f68SRobert Mustacchi  * other dealings in products derived from or relating to the Covered Code
78*35786f68SRobert Mustacchi  * without prior written authorization from Intel.
79*35786f68SRobert Mustacchi  *
80*35786f68SRobert Mustacchi  * 4. Disclaimer and Export Compliance
81*35786f68SRobert Mustacchi  *
82*35786f68SRobert Mustacchi  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83*35786f68SRobert Mustacchi  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84*35786f68SRobert Mustacchi  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85*35786f68SRobert Mustacchi  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86*35786f68SRobert Mustacchi  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87*35786f68SRobert Mustacchi  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88*35786f68SRobert Mustacchi  * PARTICULAR PURPOSE.
89*35786f68SRobert Mustacchi  *
90*35786f68SRobert Mustacchi  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91*35786f68SRobert Mustacchi  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92*35786f68SRobert Mustacchi  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93*35786f68SRobert Mustacchi  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94*35786f68SRobert Mustacchi  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95*35786f68SRobert Mustacchi  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96*35786f68SRobert Mustacchi  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97*35786f68SRobert Mustacchi  * LIMITED REMEDY.
98*35786f68SRobert Mustacchi  *
99*35786f68SRobert Mustacchi  * 4.3. Licensee shall not export, either directly or indirectly, any of this
100*35786f68SRobert Mustacchi  * software or system incorporating such software without first obtaining any
101*35786f68SRobert Mustacchi  * required license or other approval from the U. S. Department of Commerce or
102*35786f68SRobert Mustacchi  * any other agency or department of the United States Government. In the
103*35786f68SRobert Mustacchi  * event Licensee exports any such software from the United States or
104*35786f68SRobert Mustacchi  * re-exports any such software from a foreign destination, Licensee shall
105*35786f68SRobert Mustacchi  * ensure that the distribution and export/re-export of the software is in
106*35786f68SRobert Mustacchi  * compliance with all laws, regulations, orders, or other restrictions of the
107*35786f68SRobert Mustacchi  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108*35786f68SRobert Mustacchi  * any of its subsidiaries will export/re-export any technical data, process,
109*35786f68SRobert Mustacchi  * software, or service, directly or indirectly, to any country for which the
110*35786f68SRobert Mustacchi  * United States government or any agency thereof requires an export license,
111*35786f68SRobert Mustacchi  * other governmental approval, or letter of assurance, without first obtaining
112*35786f68SRobert Mustacchi  * such license, approval or letter.
113*35786f68SRobert Mustacchi  *
114*35786f68SRobert Mustacchi  *****************************************************************************
115*35786f68SRobert Mustacchi  *
116*35786f68SRobert Mustacchi  * Alternatively, you may choose to be licensed under the terms of the
117*35786f68SRobert Mustacchi  * following license:
118*35786f68SRobert Mustacchi  *
11926f3cdf0SGordon Ross  * Redistribution and use in source and binary forms, with or without
12026f3cdf0SGordon Ross  * modification, are permitted provided that the following conditions
12126f3cdf0SGordon Ross  * are met:
12226f3cdf0SGordon Ross  * 1. Redistributions of source code must retain the above copyright
12326f3cdf0SGordon Ross  *    notice, this list of conditions, and the following disclaimer,
12426f3cdf0SGordon Ross  *    without modification.
12526f3cdf0SGordon Ross  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
12626f3cdf0SGordon Ross  *    substantially similar to the "NO WARRANTY" disclaimer below
12726f3cdf0SGordon Ross  *    ("Disclaimer") and any redistribution must be conditioned upon
12826f3cdf0SGordon Ross  *    including a substantially similar Disclaimer requirement for further
12926f3cdf0SGordon Ross  *    binary redistribution.
13026f3cdf0SGordon Ross  * 3. Neither the names of the above-listed copyright holders nor the names
13126f3cdf0SGordon Ross  *    of any contributors may be used to endorse or promote products derived
13226f3cdf0SGordon Ross  *    from this software without specific prior written permission.
1337c478bd9Sstevel@tonic-gate  *
13426f3cdf0SGordon Ross  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13526f3cdf0SGordon Ross  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136*35786f68SRobert Mustacchi  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13726f3cdf0SGordon Ross  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138*35786f68SRobert Mustacchi  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139*35786f68SRobert Mustacchi  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140*35786f68SRobert Mustacchi  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141*35786f68SRobert Mustacchi  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142*35786f68SRobert Mustacchi  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143*35786f68SRobert Mustacchi  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144*35786f68SRobert Mustacchi  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145*35786f68SRobert Mustacchi  *
146*35786f68SRobert Mustacchi  * Alternatively, you may choose to be licensed under the terms of the
147*35786f68SRobert Mustacchi  * GNU General Public License ("GPL") version 2 as published by the Free
148*35786f68SRobert Mustacchi  * Software Foundation.
149*35786f68SRobert Mustacchi  *
150*35786f68SRobert Mustacchi  *****************************************************************************/
1517c478bd9Sstevel@tonic-gate 
1527c478bd9Sstevel@tonic-gate #ifndef __ACDISASM_H__
1537c478bd9Sstevel@tonic-gate #define __ACDISASM_H__
1547c478bd9Sstevel@tonic-gate 
1557c478bd9Sstevel@tonic-gate #include "amlresrc.h"
1567c478bd9Sstevel@tonic-gate 
1577c478bd9Sstevel@tonic-gate 
1587c478bd9Sstevel@tonic-gate #define BLOCK_NONE              0
1597c478bd9Sstevel@tonic-gate #define BLOCK_PAREN             1
1607c478bd9Sstevel@tonic-gate #define BLOCK_BRACE             2
1617c478bd9Sstevel@tonic-gate #define BLOCK_COMMA_LIST        4
16227f7c583Smyers #define ACPI_DEFAULT_RESNAME    *(UINT32 *) "__RD"
1637c478bd9Sstevel@tonic-gate 
16426f3cdf0SGordon Ross /*
16526f3cdf0SGordon Ross  * Raw table data header. Used by disassembler and data table compiler.
16626f3cdf0SGordon Ross  * Do not change.
16726f3cdf0SGordon Ross  */
16826f3cdf0SGordon Ross #define ACPI_RAW_TABLE_DATA_HEADER      "Raw Table Data"
16926f3cdf0SGordon Ross 
1707c478bd9Sstevel@tonic-gate 
1717b1019a6SJerry Jelinek typedef struct acpi_dmtable_info
17227f7c583Smyers {
17327f7c583Smyers     UINT8                       Opcode;
1747b1019a6SJerry Jelinek     UINT16                      Offset;
17527f7c583Smyers     char                        *Name;
17626f3cdf0SGordon Ross     UINT8                       Flags;
17727f7c583Smyers 
17827f7c583Smyers } ACPI_DMTABLE_INFO;
17927f7c583Smyers 
1807b1019a6SJerry Jelinek /* Values for Flags field above */
1817b1019a6SJerry Jelinek 
18226f3cdf0SGordon Ross #define DT_LENGTH                       0x01    /* Field is a subtable length */
18326f3cdf0SGordon Ross #define DT_FLAG                         0x02    /* Field is a flag value */
18426f3cdf0SGordon Ross #define DT_NON_ZERO                     0x04    /* Field must be non-zero */
1857b1019a6SJerry Jelinek #define DT_OPTIONAL                     0x08    /* Field is optional */
1867b1019a6SJerry Jelinek #define DT_DESCRIBES_OPTIONAL           0x10    /* Field describes an optional field (length, etc.) */
1877b1019a6SJerry Jelinek #define DT_COUNT                        0x20    /* Currently not used */
18826f3cdf0SGordon Ross 
18927f7c583Smyers /*
19027f7c583Smyers  * Values for Opcode above.
1917b1019a6SJerry Jelinek  * Note: 0-7 must not change, they are used as a flag shift value. Other
1927b1019a6SJerry Jelinek  * than those, new values can be added wherever appropriate.
19327f7c583Smyers  */
1947b1019a6SJerry Jelinek typedef enum
1957b1019a6SJerry Jelinek {
1967b1019a6SJerry Jelinek     /* Simple Data Types */
1977b1019a6SJerry Jelinek 
1987b1019a6SJerry Jelinek     ACPI_DMT_FLAG0          = 0,
1997b1019a6SJerry Jelinek     ACPI_DMT_FLAG1          = 1,
2007b1019a6SJerry Jelinek     ACPI_DMT_FLAG2          = 2,
2017b1019a6SJerry Jelinek     ACPI_DMT_FLAG3          = 3,
2027b1019a6SJerry Jelinek     ACPI_DMT_FLAG4          = 4,
2037b1019a6SJerry Jelinek     ACPI_DMT_FLAG5          = 5,
2047b1019a6SJerry Jelinek     ACPI_DMT_FLAG6          = 6,
2057b1019a6SJerry Jelinek     ACPI_DMT_FLAG7          = 7,
2067b1019a6SJerry Jelinek     ACPI_DMT_FLAGS0,
2077b1019a6SJerry Jelinek     ACPI_DMT_FLAGS1,
2087b1019a6SJerry Jelinek     ACPI_DMT_FLAGS2,
2097b1019a6SJerry Jelinek     ACPI_DMT_FLAGS4,
210*35786f68SRobert Mustacchi     ACPI_DMT_FLAGS4_0,
211*35786f68SRobert Mustacchi     ACPI_DMT_FLAGS4_4,
212*35786f68SRobert Mustacchi     ACPI_DMT_FLAGS4_8,
213*35786f68SRobert Mustacchi     ACPI_DMT_FLAGS4_12,
214*35786f68SRobert Mustacchi     ACPI_DMT_FLAGS16_16,
2157b1019a6SJerry Jelinek     ACPI_DMT_UINT8,
2167b1019a6SJerry Jelinek     ACPI_DMT_UINT16,
2177b1019a6SJerry Jelinek     ACPI_DMT_UINT24,
2187b1019a6SJerry Jelinek     ACPI_DMT_UINT32,
2197b1019a6SJerry Jelinek     ACPI_DMT_UINT40,
2207b1019a6SJerry Jelinek     ACPI_DMT_UINT48,
2217b1019a6SJerry Jelinek     ACPI_DMT_UINT56,
2227b1019a6SJerry Jelinek     ACPI_DMT_UINT64,
2237b1019a6SJerry Jelinek     ACPI_DMT_BUF7,
2247b1019a6SJerry Jelinek     ACPI_DMT_BUF10,
225*35786f68SRobert Mustacchi     ACPI_DMT_BUF12,
2267b1019a6SJerry Jelinek     ACPI_DMT_BUF16,
2277b1019a6SJerry Jelinek     ACPI_DMT_BUF128,
2287b1019a6SJerry Jelinek     ACPI_DMT_SIG,
2297b1019a6SJerry Jelinek     ACPI_DMT_STRING,
2307b1019a6SJerry Jelinek     ACPI_DMT_NAME4,
2317b1019a6SJerry Jelinek     ACPI_DMT_NAME6,
2327b1019a6SJerry Jelinek     ACPI_DMT_NAME8,
2337b1019a6SJerry Jelinek 
2347b1019a6SJerry Jelinek     /* Types that are decoded to strings and miscellaneous */
2357b1019a6SJerry Jelinek 
2367b1019a6SJerry Jelinek     ACPI_DMT_ACCWIDTH,
2377b1019a6SJerry Jelinek     ACPI_DMT_CHKSUM,
2387b1019a6SJerry Jelinek     ACPI_DMT_GAS,
2397b1019a6SJerry Jelinek     ACPI_DMT_SPACEID,
2407b1019a6SJerry Jelinek     ACPI_DMT_UNICODE,
2417b1019a6SJerry Jelinek     ACPI_DMT_UUID,
2427b1019a6SJerry Jelinek 
2437b1019a6SJerry Jelinek     /* Types used only for the Data Table Compiler */
2447b1019a6SJerry Jelinek 
2457b1019a6SJerry Jelinek     ACPI_DMT_BUFFER,
2467b1019a6SJerry Jelinek     ACPI_DMT_RAW_BUFFER,  /* Large, multiple line buffer */
2477b1019a6SJerry Jelinek     ACPI_DMT_DEVICE_PATH,
2487b1019a6SJerry Jelinek     ACPI_DMT_LABEL,
2497b1019a6SJerry Jelinek     ACPI_DMT_PCI_PATH,
2507b1019a6SJerry Jelinek 
2517b1019a6SJerry Jelinek     /* Types that are specific to particular ACPI tables */
2527b1019a6SJerry Jelinek 
2537b1019a6SJerry Jelinek     ACPI_DMT_ASF,
2547b1019a6SJerry Jelinek     ACPI_DMT_DMAR,
2557b1019a6SJerry Jelinek     ACPI_DMT_DMAR_SCOPE,
2567b1019a6SJerry Jelinek     ACPI_DMT_EINJACT,
2577b1019a6SJerry Jelinek     ACPI_DMT_EINJINST,
2587b1019a6SJerry Jelinek     ACPI_DMT_ERSTACT,
2597b1019a6SJerry Jelinek     ACPI_DMT_ERSTINST,
2607b1019a6SJerry Jelinek     ACPI_DMT_FADTPM,
2617b1019a6SJerry Jelinek     ACPI_DMT_GTDT,
2627b1019a6SJerry Jelinek     ACPI_DMT_HEST,
2637b1019a6SJerry Jelinek     ACPI_DMT_HESTNTFY,
2647b1019a6SJerry Jelinek     ACPI_DMT_HESTNTYP,
265*35786f68SRobert Mustacchi     ACPI_DMT_HMAT,
2667b1019a6SJerry Jelinek     ACPI_DMT_IORTMEM,
2677b1019a6SJerry Jelinek     ACPI_DMT_IVRS,
2687b1019a6SJerry Jelinek     ACPI_DMT_LPIT,
2697b1019a6SJerry Jelinek     ACPI_DMT_MADT,
2707b1019a6SJerry Jelinek     ACPI_DMT_NFIT,
2717b1019a6SJerry Jelinek     ACPI_DMT_PCCT,
2727b1019a6SJerry Jelinek     ACPI_DMT_PMTT,
273*35786f68SRobert Mustacchi     ACPI_DMT_PPTT,
274*35786f68SRobert Mustacchi     ACPI_DMT_SDEI,
275*35786f68SRobert Mustacchi     ACPI_DMT_SDEV,
2767b1019a6SJerry Jelinek     ACPI_DMT_SLIC,
2777b1019a6SJerry Jelinek     ACPI_DMT_SRAT,
278*35786f68SRobert Mustacchi     ACPI_DMT_TPM2,
2797b1019a6SJerry Jelinek 
2807b1019a6SJerry Jelinek     /* Special opcodes */
2817b1019a6SJerry Jelinek 
2827b1019a6SJerry Jelinek     ACPI_DMT_EXTRA_TEXT,
2837b1019a6SJerry Jelinek     ACPI_DMT_EXIT
2847b1019a6SJerry Jelinek 
2857b1019a6SJerry Jelinek } ACPI_ENTRY_TYPES;
28627f7c583Smyers 
28727f7c583Smyers typedef
288db2bae30SDana Myers void (*ACPI_DMTABLE_HANDLER) (
28927f7c583Smyers     ACPI_TABLE_HEADER       *Table);
2907c478bd9Sstevel@tonic-gate 
29126f3cdf0SGordon Ross typedef
29226f3cdf0SGordon Ross ACPI_STATUS (*ACPI_CMTABLE_HANDLER) (
29326f3cdf0SGordon Ross     void                    **PFieldList);
29426f3cdf0SGordon Ross 
29527f7c583Smyers typedef struct acpi_dmtable_data
29627f7c583Smyers {
29727f7c583Smyers     char                    *Signature;
298db2bae30SDana Myers     ACPI_DMTABLE_INFO       *TableInfo;
299db2bae30SDana Myers     ACPI_DMTABLE_HANDLER    TableHandler;
30026f3cdf0SGordon Ross     ACPI_CMTABLE_HANDLER    CmTableHandler;
30126f3cdf0SGordon Ross     const unsigned char     *Template;
30227f7c583Smyers 
30327f7c583Smyers } ACPI_DMTABLE_DATA;
3047c478bd9Sstevel@tonic-gate 
3057c478bd9Sstevel@tonic-gate 
3067c478bd9Sstevel@tonic-gate typedef struct acpi_op_walk_info
3077c478bd9Sstevel@tonic-gate {
3087b1019a6SJerry Jelinek     ACPI_WALK_STATE         *WalkState;
3097b1019a6SJerry Jelinek     ACPI_PARSE_OBJECT       *MappingOp;
3107b1019a6SJerry Jelinek     UINT8                   *PreviousAml;
3117b1019a6SJerry Jelinek     UINT8                   *StartAml;
3127c478bd9Sstevel@tonic-gate     UINT32                  Level;
31327f7c583Smyers     UINT32                  LastLevel;
31427f7c583Smyers     UINT32                  Count;
3157c478bd9Sstevel@tonic-gate     UINT32                  BitOffset;
31630082d0cSmyers     UINT32                  Flags;
3177b1019a6SJerry Jelinek     UINT32                  AmlOffset;
3187c478bd9Sstevel@tonic-gate 
3197c478bd9Sstevel@tonic-gate } ACPI_OP_WALK_INFO;
3207c478bd9Sstevel@tonic-gate 
32126f3cdf0SGordon Ross /*
32226f3cdf0SGordon Ross  * TBD - another copy of this is in asltypes.h, fix
32326f3cdf0SGordon Ross  */
32426f3cdf0SGordon Ross #ifndef ASL_WALK_CALLBACK_DEFINED
3257c478bd9Sstevel@tonic-gate typedef
3267c478bd9Sstevel@tonic-gate ACPI_STATUS (*ASL_WALK_CALLBACK) (
3277c478bd9Sstevel@tonic-gate     ACPI_PARSE_OBJECT           *Op,
3287c478bd9Sstevel@tonic-gate     UINT32                      Level,
3297c478bd9Sstevel@tonic-gate     void                        *Context);
33026f3cdf0SGordon Ross #define ASL_WALK_CALLBACK_DEFINED
33126f3cdf0SGordon Ross #endif
33226f3cdf0SGordon Ross 
3337b1019a6SJerry Jelinek typedef
3347b1019a6SJerry Jelinek void (*ACPI_RESOURCE_HANDLER) (
3357b1019a6SJerry Jelinek     ACPI_OP_WALK_INFO       *Info,
3367b1019a6SJerry Jelinek     AML_RESOURCE            *Resource,
3377b1019a6SJerry Jelinek     UINT32                  Length,
3387b1019a6SJerry Jelinek     UINT32                  Level);
3397c478bd9Sstevel@tonic-gate 
34027f7c583Smyers typedef struct acpi_resource_tag
34127f7c583Smyers {
34227f7c583Smyers     UINT32                  BitIndex;
34327f7c583Smyers     char                    *Tag;
34427f7c583Smyers 
34527f7c583Smyers } ACPI_RESOURCE_TAG;
34627f7c583Smyers 
34727f7c583Smyers /* Strings used for decoding flags to ASL keywords */
34827f7c583Smyers 
34927f7c583Smyers extern const char               *AcpiGbl_WordDecode[];
35027f7c583Smyers extern const char               *AcpiGbl_IrqDecode[];
35127f7c583Smyers extern const char               *AcpiGbl_LockRule[];
35227f7c583Smyers extern const char               *AcpiGbl_AccessTypes[];
35327f7c583Smyers extern const char               *AcpiGbl_UpdateRules[];
35427f7c583Smyers extern const char               *AcpiGbl_MatchOps[];
35527f7c583Smyers 
35627f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf0[];
35727f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf1[];
358db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf1a[];
35927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf2[];
360db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf2a[];
36127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf3[];
36227f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsf4[];
36327f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoAsfHdr[];
36427f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoBoot[];
365db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoBert[];
3667b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoBgrt[];
36727f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCpep[];
36827f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCpep0[];
3697b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCsrt0[];
3707b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCsrt1[];
3717b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCsrt2[];
3727b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoCsrt2a[];
3737b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2[];
3747b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2Device[];
3757b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2Addr[];
3767b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2Size[];
3777b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2Name[];
3787b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbg2OemData[];
37927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDbgp[];
380db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar[];
381db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmarHdr[];
382db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmarScope[];
383db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar0[];
384db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar1[];
385db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar2[];
38657190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar3[];
3877b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDmar4[];
3887b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm[];
3897b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm0[];
3907b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm0a[];
3917b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm1[];
3927b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm1a[];
3937b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoDrtm2[];
39427f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoEcdt[];
395db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoEinj[];
396db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoEinj0[];
397db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoErst[];
39826f3cdf0SGordon Ross extern ACPI_DMTABLE_INFO        AcpiDmTableInfoErst0[];
39927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFacs[];
40027f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFadt1[];
40127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFadt2[];
402aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFadt3[];
4037b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFadt5[];
4047b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFadt6[];
4057b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFpdt[];
4067b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFpdtHdr[];
4077b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFpdt0[];
4087b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoFpdt1[];
40927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGas[];
4107b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGtdt[];
4117b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGtdtHdr[];
4127b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGtdt0[];
4137b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGtdt0a[];
4147b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGtdt1[];
41527f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHeader[];
416db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest[];
417aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest0[];
418aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest1[];
41957190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest2[];
420aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest6[];
421aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest7[];
422aa2aa9a6SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest8[];
423db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest9[];
4247b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest10[];
425*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHest11[];
426db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHestNotify[];
42757190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHestBank[];
42827f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHpet[];
4297b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoLpitHdr[];
4307b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoLpit0[];
4317b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoLpit1[];
432*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat[];
433*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat0[];
434*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat1[];
435*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat1a[];
436*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat1b[];
437*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat1c[];
438*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat2[];
439*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmat2a[];
440*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoHmatHdr[];
4417b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort[];
4427b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort0[];
4437b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort0a[];
4447b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort1[];
4457b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort1a[];
4467b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort2[];
4477b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort3[];
4487b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort3a[];
4497b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort3b[];
4507b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort3c[];
4517b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort4[];
452*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIort5[];
4537b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIortAcc[];
4547b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIortHdr[];
4557b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIortMap[];
4567b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIortPad[];
45757190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs[];
45857190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs0[];
45957190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs1[];
46057190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs4[];
46157190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs8a[];
46257190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs8b[];
46357190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrs8c[];
46457190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoIvrsHdr[];
46527f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt[];
46627f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt0[];
46727f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt1[];
46827f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt2[];
46927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt3[];
47027f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt4[];
47127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt5[];
47227f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt6[];
47327f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt7[];
47427f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt8[];
475db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt9[];
476db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt10[];
4777b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt11[];
4787b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt12[];
4797b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt13[];
4807b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt14[];
4817b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadt15[];
48227f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMadtHdr[];
48327f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMcfg[];
48427f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMcfg0[];
48526f3cdf0SGordon Ross extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMchi[];
4867b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst[];
4877b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst0[];
4887b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst0A[];
4897b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst0B[];
4907b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst1[];
4917b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMpst2[];
49257190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMsct[];
49357190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMsct0[];
4947b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMtmr[];
4957b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoMtmr0[];
4967b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit[];
4977b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfitHdr[];
4987b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit0[];
4997b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit1[];
5007b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit2[];
5017b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit2a[];
5027b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit3[];
5037b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit3a[];
5047b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit4[];
5057b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit5[];
5067b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit6[];
5077b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit6a[];
508*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoNfit7[];
509*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPdtt[];
5107b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmtt[];
5117b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmtt0[];
5127b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmtt1[];
5137b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmtt1a[];
5147b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmtt2[];
5157b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPmttHdr[];
5167b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct[];
5177b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcctHdr[];
5187b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct0[];
5197b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct1[];
5207b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct2[];
521*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct3[];
522*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPcct4[];
523*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPdtt0[];
524*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPptt0[];
525*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPptt0a[];
526*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPptt1[];
527*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPptt2[];
528*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoPpttHdr[];
529*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoRasf[];
53027f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoRsdp1[];
53127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoRsdp2[];
5327b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoS3pt[];
5337b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoS3ptHdr[];
5347b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoS3pt0[];
5357b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoS3pt1[];
53627f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSbst[];
537*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdei[];
538*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev[];
539*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdevHdr[];
540*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev0[];
541*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev0a[];
542*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev1[];
543*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev1a[];
544*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSdev1b[];
5457b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSlic[];
54627f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSlit[];
54727f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSpcr[];
54827f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSpmi[];
54927f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat[];
550db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSratHdr[];
55127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat0[];
55227f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat1[];
553db2bae30SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat2[];
5547b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat3[];
555*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoSrat4[];
5567b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoStao[];
5577b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoStaoStr[];
5587b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTcpaHdr[];
5597b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTcpaClient[];
5607b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTcpaServer[];
5617b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTpm2[];
562*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTpm2a[];
563*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoTpm211[];
56457190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoUefi[];
5657b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoVrtc[];
5667b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoVrtc0[];
56757190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWaet[];
56857190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWdat[];
56957190917SDana Myers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWdat0[];
57026f3cdf0SGordon Ross extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWddt[];
57127f7c583Smyers extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWdrt[];
5727b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWpbt[];
5737b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWpbt0[];
574*35786f68SRobert Mustacchi extern ACPI_DMTABLE_INFO        AcpiDmTableInfoWsmt[];
5757b1019a6SJerry Jelinek extern ACPI_DMTABLE_INFO        AcpiDmTableInfoXenv[];
57627f7c583Smyers 
57726f3cdf0SGordon Ross extern ACPI_DMTABLE_INFO        AcpiDmTableInfoGeneric[][2];
57826f3cdf0SGordon Ross 
57927f7c583Smyers /*
5807b1019a6SJerry Jelinek  * dmtable and ahtable
58127f7c583Smyers  */
5827b1019a6SJerry Jelinek extern const ACPI_DMTABLE_DATA  AcpiDmTableData[];
583*35786f68SRobert Mustacchi extern const AH_TABLE           Gbl_AcpiSupportedTables[];
58426f3cdf0SGordon Ross 
58526f3cdf0SGordon Ross UINT8
58626f3cdf0SGordon Ross AcpiDmGenerateChecksum (
58726f3cdf0SGordon Ross     void                    *Table,
58826f3cdf0SGordon Ross     UINT32                  Length,
58926f3cdf0SGordon Ross     UINT8                   OriginalChecksum);
59026f3cdf0SGordon Ross 
5917b1019a6SJerry Jelinek const ACPI_DMTABLE_DATA *
59226f3cdf0SGordon Ross AcpiDmGetTableData (
59326f3cdf0SGordon Ross     char                    *Signature);
59426f3cdf0SGordon Ross 
59527f7c583Smyers void
59627f7c583Smyers AcpiDmDumpDataTable (
59727f7c583Smyers     ACPI_TABLE_HEADER       *Table);
59827f7c583Smyers 
599