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