Home | History | Annotate | Line # | Download | only in include
acinterp.h revision 1.17.6.1
      1       1.1    jruoho /******************************************************************************
      2       1.1    jruoho  *
      3       1.1    jruoho  * Name: acinterp.h - Interpreter subcomponent prototypes and defines
      4       1.1    jruoho  *
      5       1.1    jruoho  *****************************************************************************/
      6       1.1    jruoho 
      7  1.17.6.1  perseant /******************************************************************************
      8  1.17.6.1  perseant  *
      9  1.17.6.1  perseant  * 1. Copyright Notice
     10  1.17.6.1  perseant  *
     11  1.17.6.1  perseant  * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
     12       1.1    jruoho  * All rights reserved.
     13       1.1    jruoho  *
     14  1.17.6.1  perseant  * 2. License
     15  1.17.6.1  perseant  *
     16  1.17.6.1  perseant  * 2.1. This is your license from Intel Corp. under its intellectual property
     17  1.17.6.1  perseant  * rights. You may have additional license terms from the party that provided
     18  1.17.6.1  perseant  * you this software, covering your right to use that party's intellectual
     19  1.17.6.1  perseant  * property rights.
     20  1.17.6.1  perseant  *
     21  1.17.6.1  perseant  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
     22  1.17.6.1  perseant  * copy of the source code appearing in this file ("Covered Code") an
     23  1.17.6.1  perseant  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
     24  1.17.6.1  perseant  * base code distributed originally by Intel ("Original Intel Code") to copy,
     25  1.17.6.1  perseant  * make derivatives, distribute, use and display any portion of the Covered
     26  1.17.6.1  perseant  * Code in any form, with the right to sublicense such rights; and
     27  1.17.6.1  perseant  *
     28  1.17.6.1  perseant  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
     29  1.17.6.1  perseant  * license (with the right to sublicense), under only those claims of Intel
     30  1.17.6.1  perseant  * patents that are infringed by the Original Intel Code, to make, use, sell,
     31  1.17.6.1  perseant  * offer to sell, and import the Covered Code and derivative works thereof
     32  1.17.6.1  perseant  * solely to the minimum extent necessary to exercise the above copyright
     33  1.17.6.1  perseant  * license, and in no event shall the patent license extend to any additions
     34  1.17.6.1  perseant  * to or modifications of the Original Intel Code. No other license or right
     35  1.17.6.1  perseant  * is granted directly or by implication, estoppel or otherwise;
     36  1.17.6.1  perseant  *
     37  1.17.6.1  perseant  * The above copyright and patent license is granted only if the following
     38  1.17.6.1  perseant  * conditions are met:
     39  1.17.6.1  perseant  *
     40  1.17.6.1  perseant  * 3. Conditions
     41  1.17.6.1  perseant  *
     42  1.17.6.1  perseant  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
     43  1.17.6.1  perseant  * Redistribution of source code of any substantial portion of the Covered
     44  1.17.6.1  perseant  * Code or modification with rights to further distribute source must include
     45  1.17.6.1  perseant  * the above Copyright Notice, the above License, this list of Conditions,
     46  1.17.6.1  perseant  * and the following Disclaimer and Export Compliance provision. In addition,
     47  1.17.6.1  perseant  * Licensee must cause all Covered Code to which Licensee contributes to
     48  1.17.6.1  perseant  * contain a file documenting the changes Licensee made to create that Covered
     49  1.17.6.1  perseant  * Code and the date of any change. Licensee must include in that file the
     50  1.17.6.1  perseant  * documentation of any changes made by any predecessor Licensee. Licensee
     51  1.17.6.1  perseant  * must include a prominent statement that the modification is derived,
     52  1.17.6.1  perseant  * directly or indirectly, from Original Intel Code.
     53  1.17.6.1  perseant  *
     54  1.17.6.1  perseant  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
     55  1.17.6.1  perseant  * Redistribution of source code of any substantial portion of the Covered
     56  1.17.6.1  perseant  * Code or modification without rights to further distribute source must
     57  1.17.6.1  perseant  * include the following Disclaimer and Export Compliance provision in the
     58  1.17.6.1  perseant  * documentation and/or other materials provided with distribution. In
     59  1.17.6.1  perseant  * addition, Licensee may not authorize further sublicense of source of any
     60  1.17.6.1  perseant  * portion of the Covered Code, and must include terms to the effect that the
     61  1.17.6.1  perseant  * license from Licensee to its licensee is limited to the intellectual
     62  1.17.6.1  perseant  * property embodied in the software Licensee provides to its licensee, and
     63  1.17.6.1  perseant  * not to intellectual property embodied in modifications its licensee may
     64  1.17.6.1  perseant  * make.
     65  1.17.6.1  perseant  *
     66  1.17.6.1  perseant  * 3.3. Redistribution of Executable. Redistribution in executable form of any
     67  1.17.6.1  perseant  * substantial portion of the Covered Code or modification must reproduce the
     68  1.17.6.1  perseant  * above Copyright Notice, and the following Disclaimer and Export Compliance
     69  1.17.6.1  perseant  * provision in the documentation and/or other materials provided with the
     70  1.17.6.1  perseant  * distribution.
     71  1.17.6.1  perseant  *
     72  1.17.6.1  perseant  * 3.4. Intel retains all right, title, and interest in and to the Original
     73  1.17.6.1  perseant  * Intel Code.
     74  1.17.6.1  perseant  *
     75  1.17.6.1  perseant  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
     76  1.17.6.1  perseant  * Intel shall be used in advertising or otherwise to promote the sale, use or
     77  1.17.6.1  perseant  * other dealings in products derived from or relating to the Covered Code
     78  1.17.6.1  perseant  * without prior written authorization from Intel.
     79  1.17.6.1  perseant  *
     80  1.17.6.1  perseant  * 4. Disclaimer and Export Compliance
     81  1.17.6.1  perseant  *
     82  1.17.6.1  perseant  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
     83  1.17.6.1  perseant  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
     84  1.17.6.1  perseant  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
     85  1.17.6.1  perseant  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
     86  1.17.6.1  perseant  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
     87  1.17.6.1  perseant  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
     88  1.17.6.1  perseant  * PARTICULAR PURPOSE.
     89  1.17.6.1  perseant  *
     90  1.17.6.1  perseant  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
     91  1.17.6.1  perseant  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
     92  1.17.6.1  perseant  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
     93  1.17.6.1  perseant  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
     94  1.17.6.1  perseant  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
     95  1.17.6.1  perseant  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
     96  1.17.6.1  perseant  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
     97  1.17.6.1  perseant  * LIMITED REMEDY.
     98  1.17.6.1  perseant  *
     99  1.17.6.1  perseant  * 4.3. Licensee shall not export, either directly or indirectly, any of this
    100  1.17.6.1  perseant  * software or system incorporating such software without first obtaining any
    101  1.17.6.1  perseant  * required license or other approval from the U. S. Department of Commerce or
    102  1.17.6.1  perseant  * any other agency or department of the United States Government. In the
    103  1.17.6.1  perseant  * event Licensee exports any such software from the United States or
    104  1.17.6.1  perseant  * re-exports any such software from a foreign destination, Licensee shall
    105  1.17.6.1  perseant  * ensure that the distribution and export/re-export of the software is in
    106  1.17.6.1  perseant  * compliance with all laws, regulations, orders, or other restrictions of the
    107  1.17.6.1  perseant  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
    108  1.17.6.1  perseant  * any of its subsidiaries will export/re-export any technical data, process,
    109  1.17.6.1  perseant  * software, or service, directly or indirectly, to any country for which the
    110  1.17.6.1  perseant  * United States government or any agency thereof requires an export license,
    111  1.17.6.1  perseant  * other governmental approval, or letter of assurance, without first obtaining
    112  1.17.6.1  perseant  * such license, approval or letter.
    113  1.17.6.1  perseant  *
    114  1.17.6.1  perseant  *****************************************************************************
    115  1.17.6.1  perseant  *
    116  1.17.6.1  perseant  * Alternatively, you may choose to be licensed under the terms of the
    117  1.17.6.1  perseant  * following license:
    118  1.17.6.1  perseant  *
    119       1.3    jruoho  * Redistribution and use in source and binary forms, with or without
    120       1.3    jruoho  * modification, are permitted provided that the following conditions
    121       1.3    jruoho  * are met:
    122       1.3    jruoho  * 1. Redistributions of source code must retain the above copyright
    123       1.3    jruoho  *    notice, this list of conditions, and the following disclaimer,
    124       1.3    jruoho  *    without modification.
    125       1.3    jruoho  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
    126       1.3    jruoho  *    substantially similar to the "NO WARRANTY" disclaimer below
    127       1.3    jruoho  *    ("Disclaimer") and any redistribution must be conditioned upon
    128       1.3    jruoho  *    including a substantially similar Disclaimer requirement for further
    129       1.3    jruoho  *    binary redistribution.
    130       1.3    jruoho  * 3. Neither the names of the above-listed copyright holders nor the names
    131       1.3    jruoho  *    of any contributors may be used to endorse or promote products derived
    132       1.3    jruoho  *    from this software without specific prior written permission.
    133       1.3    jruoho  *
    134       1.3    jruoho  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    135       1.3    jruoho  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    136      1.15  christos  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    137       1.3    jruoho  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    138  1.17.6.1  perseant  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    139  1.17.6.1  perseant  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    140  1.17.6.1  perseant  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    141  1.17.6.1  perseant  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    142  1.17.6.1  perseant  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    143  1.17.6.1  perseant  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    144  1.17.6.1  perseant  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    145  1.17.6.1  perseant  *
    146  1.17.6.1  perseant  * Alternatively, you may choose to be licensed under the terms of the
    147  1.17.6.1  perseant  * GNU General Public License ("GPL") version 2 as published by the Free
    148  1.17.6.1  perseant  * Software Foundation.
    149  1.17.6.1  perseant  *
    150  1.17.6.1  perseant  *****************************************************************************/
    151       1.1    jruoho 
    152       1.1    jruoho #ifndef __ACINTERP_H__
    153       1.1    jruoho #define __ACINTERP_H__
    154       1.1    jruoho 
    155       1.1    jruoho 
    156       1.1    jruoho #define ACPI_WALK_OPERANDS          (&(WalkState->Operands [WalkState->NumOperands -1]))
    157       1.1    jruoho 
    158       1.1    jruoho /* Macros for tables used for debug output */
    159       1.1    jruoho 
    160       1.1    jruoho #define ACPI_EXD_OFFSET(f)          (UINT8) ACPI_OFFSET (ACPI_OPERAND_OBJECT,f)
    161       1.1    jruoho #define ACPI_EXD_NSOFFSET(f)        (UINT8) ACPI_OFFSET (ACPI_NAMESPACE_NODE,f)
    162       1.1    jruoho #define ACPI_EXD_TABLE_SIZE(name)   (sizeof(name) / sizeof (ACPI_EXDUMP_INFO))
    163       1.1    jruoho 
    164       1.1    jruoho /*
    165       1.1    jruoho  * If possible, pack the following structures to byte alignment, since we
    166       1.1    jruoho  * don't care about performance for debug output. Two cases where we cannot
    167       1.1    jruoho  * pack the structures:
    168       1.1    jruoho  *
    169       1.1    jruoho  * 1) Hardware does not support misaligned memory transfers
    170       1.1    jruoho  * 2) Compiler does not support pointers within packed structures
    171       1.1    jruoho  */
    172       1.1    jruoho #if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
    173       1.1    jruoho #pragma pack(1)
    174       1.1    jruoho #endif
    175       1.1    jruoho 
    176       1.1    jruoho typedef const struct acpi_exdump_info
    177       1.1    jruoho {
    178       1.1    jruoho     UINT8                   Opcode;
    179       1.1    jruoho     UINT8                   Offset;
    180       1.2    jruoho     const char              *Name;
    181       1.1    jruoho 
    182       1.1    jruoho } ACPI_EXDUMP_INFO;
    183       1.1    jruoho 
    184       1.1    jruoho /* Values for the Opcode field above */
    185       1.1    jruoho 
    186       1.1    jruoho #define ACPI_EXD_INIT                   0
    187       1.1    jruoho #define ACPI_EXD_TYPE                   1
    188       1.1    jruoho #define ACPI_EXD_UINT8                  2
    189       1.1    jruoho #define ACPI_EXD_UINT16                 3
    190       1.1    jruoho #define ACPI_EXD_UINT32                 4
    191       1.1    jruoho #define ACPI_EXD_UINT64                 5
    192       1.1    jruoho #define ACPI_EXD_LITERAL                6
    193       1.1    jruoho #define ACPI_EXD_POINTER                7
    194       1.1    jruoho #define ACPI_EXD_ADDRESS                8
    195       1.1    jruoho #define ACPI_EXD_STRING                 9
    196       1.1    jruoho #define ACPI_EXD_BUFFER                 10
    197       1.1    jruoho #define ACPI_EXD_PACKAGE                11
    198       1.1    jruoho #define ACPI_EXD_FIELD                  12
    199       1.1    jruoho #define ACPI_EXD_REFERENCE              13
    200       1.5  christos #define ACPI_EXD_LIST                   14 /* Operand object list */
    201       1.5  christos #define ACPI_EXD_HDLR_LIST              15 /* Address Handler list */
    202       1.5  christos #define ACPI_EXD_RGN_LIST               16 /* Region list */
    203       1.5  christos #define ACPI_EXD_NODE                   17 /* Namespace Node */
    204       1.1    jruoho 
    205       1.1    jruoho /* restore default alignment */
    206       1.1    jruoho 
    207       1.1    jruoho #pragma pack()
    208       1.1    jruoho 
    209       1.1    jruoho 
    210       1.1    jruoho /*
    211       1.1    jruoho  * exconvrt - object conversion
    212       1.1    jruoho  */
    213       1.1    jruoho ACPI_STATUS
    214       1.1    jruoho AcpiExConvertToInteger (
    215       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    216       1.1    jruoho     ACPI_OPERAND_OBJECT     **ResultDesc,
    217      1.10  christos     UINT32                  ImplicitConversion);
    218       1.1    jruoho 
    219       1.1    jruoho ACPI_STATUS
    220       1.1    jruoho AcpiExConvertToBuffer (
    221       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    222       1.1    jruoho     ACPI_OPERAND_OBJECT     **ResultDesc);
    223       1.1    jruoho 
    224       1.1    jruoho ACPI_STATUS
    225       1.1    jruoho AcpiExConvertToString (
    226       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    227       1.1    jruoho     ACPI_OPERAND_OBJECT     **ResultDesc,
    228       1.1    jruoho     UINT32                  Type);
    229       1.1    jruoho 
    230       1.1    jruoho /* Types for ->String conversion */
    231       1.1    jruoho 
    232       1.1    jruoho #define ACPI_EXPLICIT_BYTE_COPY         0x00000000
    233       1.1    jruoho #define ACPI_EXPLICIT_CONVERT_HEX       0x00000001
    234       1.1    jruoho #define ACPI_IMPLICIT_CONVERT_HEX       0x00000002
    235       1.1    jruoho #define ACPI_EXPLICIT_CONVERT_DECIMAL   0x00000003
    236       1.1    jruoho 
    237       1.1    jruoho ACPI_STATUS
    238       1.1    jruoho AcpiExConvertToTargetType (
    239       1.1    jruoho     ACPI_OBJECT_TYPE        DestinationType,
    240       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    241       1.1    jruoho     ACPI_OPERAND_OBJECT     **ResultDesc,
    242       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    243       1.1    jruoho 
    244       1.1    jruoho 
    245       1.1    jruoho /*
    246       1.1    jruoho  * exdebug - AML debug object
    247       1.1    jruoho  */
    248       1.1    jruoho void
    249       1.1    jruoho AcpiExDoDebugObject (
    250       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    251       1.1    jruoho     UINT32                  Level,
    252       1.1    jruoho     UINT32                  Index);
    253       1.1    jruoho 
    254       1.7  christos void
    255       1.7  christos AcpiExStartTraceMethod (
    256       1.7  christos     ACPI_NAMESPACE_NODE     *MethodNode,
    257       1.7  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    258       1.7  christos     ACPI_WALK_STATE         *WalkState);
    259       1.7  christos 
    260       1.7  christos void
    261       1.7  christos AcpiExStopTraceMethod (
    262       1.7  christos     ACPI_NAMESPACE_NODE     *MethodNode,
    263       1.7  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    264       1.7  christos     ACPI_WALK_STATE         *WalkState);
    265       1.7  christos 
    266       1.7  christos void
    267       1.7  christos AcpiExStartTraceOpcode (
    268       1.7  christos     ACPI_PARSE_OBJECT       *Op,
    269       1.7  christos     ACPI_WALK_STATE         *WalkState);
    270       1.7  christos 
    271       1.7  christos void
    272       1.7  christos AcpiExStopTraceOpcode (
    273       1.7  christos     ACPI_PARSE_OBJECT       *Op,
    274       1.7  christos     ACPI_WALK_STATE         *WalkState);
    275       1.7  christos 
    276       1.7  christos void
    277       1.7  christos AcpiExTracePoint (
    278       1.7  christos     ACPI_TRACE_EVENT_TYPE   Type,
    279       1.7  christos     BOOLEAN                 Begin,
    280       1.7  christos     UINT8                   *Aml,
    281       1.7  christos     char                    *Pathname);
    282       1.7  christos 
    283       1.1    jruoho 
    284       1.1    jruoho /*
    285       1.1    jruoho  * exfield - ACPI AML (p-code) execution - field manipulation
    286       1.1    jruoho  */
    287       1.1    jruoho ACPI_STATUS
    288      1.12  christos AcpiExGetProtocolBufferLength (
    289      1.12  christos     UINT32                  ProtocolId,
    290      1.12  christos     UINT32                  *ReturnLength);
    291      1.12  christos 
    292      1.12  christos ACPI_STATUS
    293       1.1    jruoho AcpiExCommonBufferSetup (
    294       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    295       1.1    jruoho     UINT32                  BufferLength,
    296       1.1    jruoho     UINT32                  *DatumCount);
    297       1.1    jruoho 
    298       1.1    jruoho ACPI_STATUS
    299       1.1    jruoho AcpiExWriteWithUpdateRule (
    300       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    301       1.1    jruoho     UINT64                  Mask,
    302       1.1    jruoho     UINT64                  FieldValue,
    303       1.1    jruoho     UINT32                  FieldDatumByteOffset);
    304       1.1    jruoho 
    305       1.1    jruoho void
    306       1.1    jruoho AcpiExGetBufferDatum(
    307       1.1    jruoho     UINT64                  *Datum,
    308       1.1    jruoho     void                    *Buffer,
    309       1.1    jruoho     UINT32                  BufferLength,
    310       1.1    jruoho     UINT32                  ByteGranularity,
    311       1.1    jruoho     UINT32                  BufferOffset);
    312       1.1    jruoho 
    313       1.1    jruoho void
    314       1.1    jruoho AcpiExSetBufferDatum (
    315       1.1    jruoho     UINT64                  MergedDatum,
    316       1.1    jruoho     void                    *Buffer,
    317       1.1    jruoho     UINT32                  BufferLength,
    318       1.1    jruoho     UINT32                  ByteGranularity,
    319       1.1    jruoho     UINT32                  BufferOffset);
    320       1.1    jruoho 
    321       1.1    jruoho ACPI_STATUS
    322       1.1    jruoho AcpiExReadDataFromField (
    323       1.1    jruoho     ACPI_WALK_STATE         *WalkState,
    324       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    325       1.1    jruoho     ACPI_OPERAND_OBJECT     **RetBufferDesc);
    326       1.1    jruoho 
    327       1.1    jruoho ACPI_STATUS
    328       1.1    jruoho AcpiExWriteDataToField (
    329       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    330       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    331       1.1    jruoho     ACPI_OPERAND_OBJECT     **ResultDesc);
    332       1.1    jruoho 
    333       1.1    jruoho 
    334       1.1    jruoho /*
    335       1.1    jruoho  * exfldio - low level field I/O
    336       1.1    jruoho  */
    337       1.1    jruoho ACPI_STATUS
    338       1.1    jruoho AcpiExExtractFromField (
    339       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    340       1.1    jruoho     void                    *Buffer,
    341       1.1    jruoho     UINT32                  BufferLength);
    342       1.1    jruoho 
    343       1.1    jruoho ACPI_STATUS
    344       1.1    jruoho AcpiExInsertIntoField (
    345       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    346       1.1    jruoho     void                    *Buffer,
    347       1.1    jruoho     UINT32                  BufferLength);
    348       1.1    jruoho 
    349       1.1    jruoho ACPI_STATUS
    350       1.1    jruoho AcpiExAccessRegion (
    351       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    352       1.1    jruoho     UINT32                  FieldDatumByteOffset,
    353       1.1    jruoho     UINT64                  *Value,
    354       1.1    jruoho     UINT32                  ReadWrite);
    355       1.1    jruoho 
    356       1.1    jruoho 
    357       1.1    jruoho /*
    358       1.1    jruoho  * exmisc - misc support routines
    359       1.1    jruoho  */
    360       1.1    jruoho ACPI_STATUS
    361       1.1    jruoho AcpiExGetObjectReference (
    362       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    363       1.1    jruoho     ACPI_OPERAND_OBJECT     **ReturnDesc,
    364       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    365       1.1    jruoho 
    366       1.1    jruoho ACPI_STATUS
    367       1.1    jruoho AcpiExConcatTemplate (
    368       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    369       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc2,
    370       1.1    jruoho     ACPI_OPERAND_OBJECT     **ActualReturnDesc,
    371       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    372       1.1    jruoho 
    373       1.1    jruoho ACPI_STATUS
    374       1.1    jruoho AcpiExDoConcatenate (
    375       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    376       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc2,
    377       1.1    jruoho     ACPI_OPERAND_OBJECT     **ActualReturnDesc,
    378       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    379       1.1    jruoho 
    380       1.1    jruoho ACPI_STATUS
    381       1.1    jruoho AcpiExDoLogicalNumericOp (
    382       1.1    jruoho     UINT16                  Opcode,
    383       1.1    jruoho     UINT64                  Integer0,
    384       1.1    jruoho     UINT64                  Integer1,
    385       1.1    jruoho     BOOLEAN                 *LogicalResult);
    386       1.1    jruoho 
    387       1.1    jruoho ACPI_STATUS
    388       1.1    jruoho AcpiExDoLogicalOp (
    389       1.1    jruoho     UINT16                  Opcode,
    390       1.1    jruoho     ACPI_OPERAND_OBJECT     *Operand0,
    391       1.1    jruoho     ACPI_OPERAND_OBJECT     *Operand1,
    392       1.1    jruoho     BOOLEAN                 *LogicalResult);
    393       1.1    jruoho 
    394       1.1    jruoho UINT64
    395       1.1    jruoho AcpiExDoMathOp (
    396       1.1    jruoho     UINT16                  Opcode,
    397       1.1    jruoho     UINT64                  Operand0,
    398       1.1    jruoho     UINT64                  Operand1);
    399       1.1    jruoho 
    400       1.1    jruoho ACPI_STATUS
    401       1.1    jruoho AcpiExCreateMutex (
    402       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    403       1.1    jruoho 
    404       1.1    jruoho ACPI_STATUS
    405       1.1    jruoho AcpiExCreateProcessor (
    406       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    407       1.1    jruoho 
    408       1.1    jruoho ACPI_STATUS
    409       1.1    jruoho AcpiExCreatePowerResource (
    410       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    411       1.1    jruoho 
    412       1.1    jruoho ACPI_STATUS
    413       1.1    jruoho AcpiExCreateRegion (
    414       1.1    jruoho     UINT8                   *AmlStart,
    415       1.1    jruoho     UINT32                  AmlLength,
    416       1.1    jruoho     UINT8                   RegionSpace,
    417       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    418       1.1    jruoho 
    419       1.1    jruoho ACPI_STATUS
    420       1.1    jruoho AcpiExCreateEvent (
    421       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    422       1.1    jruoho 
    423       1.1    jruoho ACPI_STATUS
    424       1.1    jruoho AcpiExCreateAlias (
    425       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    426       1.1    jruoho 
    427       1.1    jruoho ACPI_STATUS
    428       1.1    jruoho AcpiExCreateMethod (
    429       1.1    jruoho     UINT8                   *AmlStart,
    430       1.1    jruoho     UINT32                  AmlLength,
    431       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    432       1.1    jruoho 
    433       1.1    jruoho 
    434       1.1    jruoho /*
    435       1.1    jruoho  * exconfig - dynamic table load/unload
    436       1.1    jruoho  */
    437       1.1    jruoho ACPI_STATUS
    438       1.1    jruoho AcpiExLoadOp (
    439       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    440       1.1    jruoho     ACPI_OPERAND_OBJECT     *Target,
    441       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    442       1.1    jruoho 
    443       1.1    jruoho ACPI_STATUS
    444       1.1    jruoho AcpiExLoadTableOp (
    445       1.1    jruoho     ACPI_WALK_STATE         *WalkState,
    446       1.1    jruoho     ACPI_OPERAND_OBJECT     **ReturnDesc);
    447       1.1    jruoho 
    448       1.1    jruoho ACPI_STATUS
    449       1.1    jruoho AcpiExUnloadTable (
    450       1.1    jruoho     ACPI_OPERAND_OBJECT     *DdbHandle);
    451       1.1    jruoho 
    452       1.1    jruoho 
    453       1.1    jruoho /*
    454       1.1    jruoho  * exmutex - mutex support
    455       1.1    jruoho  */
    456       1.1    jruoho ACPI_STATUS
    457       1.1    jruoho AcpiExAcquireMutex (
    458       1.1    jruoho     ACPI_OPERAND_OBJECT     *TimeDesc,
    459       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    460       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    461       1.1    jruoho 
    462       1.1    jruoho ACPI_STATUS
    463       1.1    jruoho AcpiExAcquireMutexObject (
    464       1.1    jruoho     UINT16                  Timeout,
    465       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    466       1.1    jruoho     ACPI_THREAD_ID          ThreadId);
    467       1.1    jruoho 
    468       1.1    jruoho ACPI_STATUS
    469       1.1    jruoho AcpiExReleaseMutex (
    470       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    471       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    472       1.1    jruoho 
    473       1.1    jruoho ACPI_STATUS
    474       1.1    jruoho AcpiExReleaseMutexObject (
    475       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    476       1.1    jruoho 
    477       1.1    jruoho void
    478       1.1    jruoho AcpiExReleaseAllMutexes (
    479       1.1    jruoho     ACPI_THREAD_STATE       *Thread);
    480       1.1    jruoho 
    481       1.1    jruoho void
    482       1.1    jruoho AcpiExUnlinkMutex (
    483       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    484       1.1    jruoho 
    485       1.1    jruoho 
    486       1.1    jruoho /*
    487       1.1    jruoho  * exprep - ACPI AML execution - prep utilities
    488       1.1    jruoho  */
    489       1.1    jruoho ACPI_STATUS
    490       1.1    jruoho AcpiExPrepCommonFieldObject (
    491       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    492       1.1    jruoho     UINT8                   FieldFlags,
    493       1.1    jruoho     UINT8                   FieldAttribute,
    494       1.1    jruoho     UINT32                  FieldBitPosition,
    495       1.1    jruoho     UINT32                  FieldBitLength);
    496       1.1    jruoho 
    497       1.1    jruoho ACPI_STATUS
    498       1.1    jruoho AcpiExPrepFieldValue (
    499       1.1    jruoho     ACPI_CREATE_FIELD_INFO  *Info);
    500       1.1    jruoho 
    501       1.1    jruoho 
    502       1.1    jruoho /*
    503      1.12  christos  * exserial - FieldUnit support for serial address spaces
    504      1.12  christos  */
    505      1.12  christos ACPI_STATUS
    506      1.12  christos AcpiExReadSerialBus (
    507      1.12  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    508      1.12  christos     ACPI_OPERAND_OBJECT     **ReturnBuffer);
    509      1.12  christos 
    510      1.12  christos ACPI_STATUS
    511      1.12  christos AcpiExWriteSerialBus (
    512      1.12  christos     ACPI_OPERAND_OBJECT     *SourceDesc,
    513      1.12  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    514      1.12  christos     ACPI_OPERAND_OBJECT     **ReturnBuffer);
    515      1.12  christos 
    516      1.12  christos ACPI_STATUS
    517      1.12  christos AcpiExReadGpio (
    518      1.12  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    519      1.12  christos     void                    *Buffer);
    520      1.12  christos 
    521      1.12  christos ACPI_STATUS
    522      1.12  christos AcpiExWriteGpio (
    523      1.12  christos     ACPI_OPERAND_OBJECT     *SourceDesc,
    524      1.12  christos     ACPI_OPERAND_OBJECT     *ObjDesc,
    525      1.12  christos     ACPI_OPERAND_OBJECT     **ReturnBuffer);
    526      1.12  christos 
    527      1.12  christos 
    528      1.12  christos /*
    529       1.1    jruoho  * exsystem - Interface to OS services
    530       1.1    jruoho  */
    531       1.1    jruoho ACPI_STATUS
    532       1.1    jruoho AcpiExSystemDoNotifyOp (
    533       1.1    jruoho     ACPI_OPERAND_OBJECT     *Value,
    534       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    535       1.1    jruoho 
    536       1.1    jruoho ACPI_STATUS
    537       1.1    jruoho AcpiExSystemDoSleep(
    538       1.1    jruoho     UINT64                  Time);
    539       1.1    jruoho 
    540       1.1    jruoho ACPI_STATUS
    541       1.1    jruoho AcpiExSystemDoStall (
    542       1.1    jruoho     UINT32                  Time);
    543       1.1    jruoho 
    544       1.1    jruoho ACPI_STATUS
    545       1.1    jruoho AcpiExSystemSignalEvent(
    546       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    547       1.1    jruoho 
    548       1.1    jruoho ACPI_STATUS
    549       1.1    jruoho AcpiExSystemWaitEvent(
    550       1.1    jruoho     ACPI_OPERAND_OBJECT     *Time,
    551       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    552       1.1    jruoho 
    553       1.1    jruoho ACPI_STATUS
    554       1.1    jruoho AcpiExSystemResetEvent(
    555       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    556       1.1    jruoho 
    557       1.1    jruoho ACPI_STATUS
    558       1.1    jruoho AcpiExSystemWaitSemaphore (
    559       1.1    jruoho     ACPI_SEMAPHORE          Semaphore,
    560       1.1    jruoho     UINT16                  Timeout);
    561       1.1    jruoho 
    562       1.1    jruoho ACPI_STATUS
    563       1.1    jruoho AcpiExSystemWaitMutex (
    564       1.1    jruoho     ACPI_MUTEX              Mutex,
    565       1.1    jruoho     UINT16                  Timeout);
    566       1.1    jruoho 
    567       1.1    jruoho /*
    568       1.1    jruoho  * exoparg1 - ACPI AML execution, 1 operand
    569       1.1    jruoho  */
    570       1.1    jruoho ACPI_STATUS
    571       1.1    jruoho AcpiExOpcode_0A_0T_1R (
    572       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    573       1.1    jruoho 
    574       1.1    jruoho ACPI_STATUS
    575       1.1    jruoho AcpiExOpcode_1A_0T_0R (
    576       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    577       1.1    jruoho 
    578       1.1    jruoho ACPI_STATUS
    579       1.1    jruoho AcpiExOpcode_1A_0T_1R (
    580       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    581       1.1    jruoho 
    582       1.1    jruoho ACPI_STATUS
    583       1.1    jruoho AcpiExOpcode_1A_1T_1R (
    584       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    585       1.1    jruoho 
    586       1.1    jruoho ACPI_STATUS
    587       1.1    jruoho AcpiExOpcode_1A_1T_0R (
    588       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    589       1.1    jruoho 
    590       1.1    jruoho /*
    591       1.1    jruoho  * exoparg2 - ACPI AML execution, 2 operands
    592       1.1    jruoho  */
    593       1.1    jruoho ACPI_STATUS
    594       1.1    jruoho AcpiExOpcode_2A_0T_0R (
    595       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    596       1.1    jruoho 
    597       1.1    jruoho ACPI_STATUS
    598       1.1    jruoho AcpiExOpcode_2A_0T_1R (
    599       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    600       1.1    jruoho 
    601       1.1    jruoho ACPI_STATUS
    602       1.1    jruoho AcpiExOpcode_2A_1T_1R (
    603       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    604       1.1    jruoho 
    605       1.1    jruoho ACPI_STATUS
    606       1.1    jruoho AcpiExOpcode_2A_2T_1R (
    607       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    608       1.1    jruoho 
    609       1.1    jruoho 
    610       1.1    jruoho /*
    611       1.1    jruoho  * exoparg3 - ACPI AML execution, 3 operands
    612       1.1    jruoho  */
    613       1.1    jruoho ACPI_STATUS
    614       1.1    jruoho AcpiExOpcode_3A_0T_0R (
    615       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    616       1.1    jruoho 
    617       1.1    jruoho ACPI_STATUS
    618       1.1    jruoho AcpiExOpcode_3A_1T_1R (
    619       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    620       1.1    jruoho 
    621       1.1    jruoho 
    622       1.1    jruoho /*
    623       1.1    jruoho  * exoparg6 - ACPI AML execution, 6 operands
    624       1.1    jruoho  */
    625       1.1    jruoho ACPI_STATUS
    626       1.1    jruoho AcpiExOpcode_6A_0T_1R (
    627       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    628       1.1    jruoho 
    629       1.1    jruoho 
    630       1.1    jruoho /*
    631       1.1    jruoho  * exresolv - Object resolution and get value functions
    632       1.1    jruoho  */
    633       1.1    jruoho ACPI_STATUS
    634       1.1    jruoho AcpiExResolveToValue (
    635       1.1    jruoho     ACPI_OPERAND_OBJECT     **StackPtr,
    636       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    637       1.1    jruoho 
    638       1.1    jruoho ACPI_STATUS
    639       1.1    jruoho AcpiExResolveMultiple (
    640       1.1    jruoho     ACPI_WALK_STATE         *WalkState,
    641       1.1    jruoho     ACPI_OPERAND_OBJECT     *Operand,
    642       1.1    jruoho     ACPI_OBJECT_TYPE        *ReturnType,
    643       1.1    jruoho     ACPI_OPERAND_OBJECT     **ReturnDesc);
    644       1.1    jruoho 
    645       1.1    jruoho 
    646       1.1    jruoho /*
    647       1.1    jruoho  * exresnte - resolve namespace node
    648       1.1    jruoho  */
    649       1.1    jruoho ACPI_STATUS
    650       1.1    jruoho AcpiExResolveNodeToValue (
    651       1.1    jruoho     ACPI_NAMESPACE_NODE     **StackPtr,
    652       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    653       1.1    jruoho 
    654       1.1    jruoho 
    655       1.1    jruoho /*
    656       1.1    jruoho  * exresop - resolve operand to value
    657       1.1    jruoho  */
    658       1.1    jruoho ACPI_STATUS
    659       1.1    jruoho AcpiExResolveOperands (
    660       1.1    jruoho     UINT16                  Opcode,
    661       1.1    jruoho     ACPI_OPERAND_OBJECT     **StackPtr,
    662       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    663       1.1    jruoho 
    664       1.1    jruoho 
    665       1.1    jruoho /*
    666       1.1    jruoho  * exdump - Interpreter debug output routines
    667       1.1    jruoho  */
    668       1.1    jruoho void
    669       1.1    jruoho AcpiExDumpOperand (
    670       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc,
    671       1.1    jruoho     UINT32                  Depth);
    672       1.1    jruoho 
    673       1.1    jruoho void
    674       1.1    jruoho AcpiExDumpOperands (
    675       1.1    jruoho     ACPI_OPERAND_OBJECT     **Operands,
    676       1.1    jruoho     const char              *OpcodeName,
    677       1.1    jruoho     UINT32                  NumOpcodes);
    678       1.1    jruoho 
    679       1.1    jruoho void
    680       1.1    jruoho AcpiExDumpObjectDescriptor (
    681       1.1    jruoho     ACPI_OPERAND_OBJECT     *Object,
    682       1.1    jruoho     UINT32                  Flags);
    683       1.1    jruoho 
    684       1.1    jruoho void
    685       1.1    jruoho AcpiExDumpNamespaceNode (
    686       1.1    jruoho     ACPI_NAMESPACE_NODE     *Node,
    687       1.1    jruoho     UINT32                  Flags);
    688       1.1    jruoho 
    689       1.1    jruoho 
    690       1.1    jruoho /*
    691       1.1    jruoho  * exnames - AML namestring support
    692       1.1    jruoho  */
    693       1.1    jruoho ACPI_STATUS
    694       1.1    jruoho AcpiExGetNameString (
    695       1.1    jruoho     ACPI_OBJECT_TYPE        DataType,
    696       1.1    jruoho     UINT8                   *InAmlAddress,
    697       1.1    jruoho     char                    **OutNameString,
    698       1.1    jruoho     UINT32                  *OutNameLength);
    699       1.1    jruoho 
    700       1.1    jruoho 
    701       1.1    jruoho /*
    702       1.1    jruoho  * exstore - Object store support
    703       1.1    jruoho  */
    704       1.1    jruoho ACPI_STATUS
    705       1.1    jruoho AcpiExStore (
    706       1.1    jruoho     ACPI_OPERAND_OBJECT     *ValDesc,
    707       1.1    jruoho     ACPI_OPERAND_OBJECT     *DestDesc,
    708       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    709       1.1    jruoho 
    710       1.1    jruoho ACPI_STATUS
    711       1.1    jruoho AcpiExStoreObjectToNode (
    712       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    713       1.1    jruoho     ACPI_NAMESPACE_NODE     *Node,
    714       1.1    jruoho     ACPI_WALK_STATE         *WalkState,
    715       1.1    jruoho     UINT8                   ImplicitConversion);
    716       1.1    jruoho 
    717       1.1    jruoho 
    718       1.1    jruoho /*
    719       1.1    jruoho  * exstoren - resolve/store object
    720       1.1    jruoho  */
    721       1.1    jruoho ACPI_STATUS
    722       1.1    jruoho AcpiExResolveObject (
    723       1.1    jruoho     ACPI_OPERAND_OBJECT     **SourceDescPtr,
    724       1.1    jruoho     ACPI_OBJECT_TYPE        TargetType,
    725       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    726       1.1    jruoho 
    727       1.1    jruoho ACPI_STATUS
    728       1.1    jruoho AcpiExStoreObjectToObject (
    729       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    730       1.1    jruoho     ACPI_OPERAND_OBJECT     *DestDesc,
    731       1.1    jruoho     ACPI_OPERAND_OBJECT     **NewDesc,
    732       1.1    jruoho     ACPI_WALK_STATE         *WalkState);
    733       1.1    jruoho 
    734       1.1    jruoho 
    735       1.1    jruoho /*
    736       1.1    jruoho  * exstorob - store object - buffer/string
    737       1.1    jruoho  */
    738       1.1    jruoho ACPI_STATUS
    739       1.1    jruoho AcpiExStoreBufferToBuffer (
    740       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    741       1.1    jruoho     ACPI_OPERAND_OBJECT     *TargetDesc);
    742       1.1    jruoho 
    743       1.1    jruoho ACPI_STATUS
    744       1.1    jruoho AcpiExStoreStringToString (
    745       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    746       1.1    jruoho     ACPI_OPERAND_OBJECT     *TargetDesc);
    747       1.1    jruoho 
    748       1.1    jruoho 
    749       1.1    jruoho /*
    750       1.1    jruoho  * excopy - object copy
    751       1.1    jruoho  */
    752       1.1    jruoho ACPI_STATUS
    753       1.1    jruoho AcpiExCopyIntegerToIndexField (
    754       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    755       1.1    jruoho     ACPI_OPERAND_OBJECT     *TargetDesc);
    756       1.1    jruoho 
    757       1.1    jruoho ACPI_STATUS
    758       1.1    jruoho AcpiExCopyIntegerToBankField (
    759       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    760       1.1    jruoho     ACPI_OPERAND_OBJECT     *TargetDesc);
    761       1.1    jruoho 
    762       1.1    jruoho ACPI_STATUS
    763       1.1    jruoho AcpiExCopyDataToNamedField (
    764       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    765       1.1    jruoho     ACPI_NAMESPACE_NODE     *Node);
    766       1.1    jruoho 
    767       1.1    jruoho ACPI_STATUS
    768       1.1    jruoho AcpiExCopyIntegerToBufferField (
    769       1.1    jruoho     ACPI_OPERAND_OBJECT     *SourceDesc,
    770       1.1    jruoho     ACPI_OPERAND_OBJECT     *TargetDesc);
    771       1.1    jruoho 
    772       1.1    jruoho 
    773       1.1    jruoho /*
    774       1.1    jruoho  * exutils - interpreter/scanner utilities
    775       1.1    jruoho  */
    776       1.1    jruoho void
    777       1.1    jruoho AcpiExEnterInterpreter (
    778       1.1    jruoho     void);
    779       1.1    jruoho 
    780       1.1    jruoho void
    781       1.1    jruoho AcpiExExitInterpreter (
    782       1.1    jruoho     void);
    783       1.1    jruoho 
    784       1.4  christos BOOLEAN
    785       1.1    jruoho AcpiExTruncateFor32bitTable (
    786       1.1    jruoho     ACPI_OPERAND_OBJECT     *ObjDesc);
    787       1.1    jruoho 
    788       1.1    jruoho void
    789       1.1    jruoho AcpiExAcquireGlobalLock (
    790       1.1    jruoho     UINT32                  Rule);
    791       1.1    jruoho 
    792       1.1    jruoho void
    793       1.1    jruoho AcpiExReleaseGlobalLock (
    794       1.1    jruoho     UINT32                  Rule);
    795       1.1    jruoho 
    796       1.1    jruoho void
    797       1.1    jruoho AcpiExEisaIdToString (
    798       1.1    jruoho     char                    *Dest,
    799       1.1    jruoho     UINT64                  CompressedId);
    800       1.1    jruoho 
    801       1.1    jruoho void
    802       1.1    jruoho AcpiExIntegerToString (
    803       1.1    jruoho     char                    *Dest,
    804       1.1    jruoho     UINT64                  Value);
    805       1.1    jruoho 
    806       1.7  christos void
    807       1.7  christos AcpiExPciClsToString (
    808       1.7  christos     char                    *Dest,
    809       1.7  christos     UINT8                   ClassCode[3]);
    810       1.7  christos 
    811       1.4  christos BOOLEAN
    812       1.4  christos AcpiIsValidSpaceId (
    813       1.4  christos     UINT8                   SpaceId);
    814       1.4  christos 
    815       1.1    jruoho 
    816       1.1    jruoho /*
    817       1.1    jruoho  * exregion - default OpRegion handlers
    818       1.1    jruoho  */
    819       1.1    jruoho ACPI_STATUS
    820       1.1    jruoho AcpiExSystemMemorySpaceHandler (
    821       1.1    jruoho     UINT32                  Function,
    822       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    823       1.1    jruoho     UINT32                  BitWidth,
    824       1.1    jruoho     UINT64                  *Value,
    825       1.1    jruoho     void                    *HandlerContext,
    826       1.1    jruoho     void                    *RegionContext);
    827       1.1    jruoho 
    828       1.1    jruoho ACPI_STATUS
    829       1.1    jruoho AcpiExSystemIoSpaceHandler (
    830       1.1    jruoho     UINT32                  Function,
    831       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    832       1.1    jruoho     UINT32                  BitWidth,
    833       1.1    jruoho     UINT64                  *Value,
    834       1.1    jruoho     void                    *HandlerContext,
    835       1.1    jruoho     void                    *RegionContext);
    836       1.1    jruoho 
    837       1.1    jruoho ACPI_STATUS
    838       1.1    jruoho AcpiExPciConfigSpaceHandler (
    839       1.1    jruoho     UINT32                  Function,
    840       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    841       1.1    jruoho     UINT32                  BitWidth,
    842       1.1    jruoho     UINT64                  *Value,
    843       1.1    jruoho     void                    *HandlerContext,
    844       1.1    jruoho     void                    *RegionContext);
    845       1.1    jruoho 
    846       1.1    jruoho ACPI_STATUS
    847       1.1    jruoho AcpiExCmosSpaceHandler (
    848       1.1    jruoho     UINT32                  Function,
    849       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    850       1.1    jruoho     UINT32                  BitWidth,
    851       1.1    jruoho     UINT64                  *Value,
    852       1.1    jruoho     void                    *HandlerContext,
    853       1.1    jruoho     void                    *RegionContext);
    854       1.1    jruoho 
    855       1.1    jruoho ACPI_STATUS
    856       1.1    jruoho AcpiExPciBarSpaceHandler (
    857       1.1    jruoho     UINT32                  Function,
    858       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    859       1.1    jruoho     UINT32                  BitWidth,
    860       1.1    jruoho     UINT64                  *Value,
    861       1.1    jruoho     void                    *HandlerContext,
    862       1.1    jruoho     void                    *RegionContext);
    863       1.1    jruoho 
    864       1.1    jruoho ACPI_STATUS
    865       1.1    jruoho AcpiExEmbeddedControllerSpaceHandler (
    866       1.1    jruoho     UINT32                  Function,
    867       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    868       1.1    jruoho     UINT32                  BitWidth,
    869       1.1    jruoho     UINT64                  *Value,
    870       1.1    jruoho     void                    *HandlerContext,
    871       1.1    jruoho     void                    *RegionContext);
    872       1.1    jruoho 
    873       1.1    jruoho ACPI_STATUS
    874       1.1    jruoho AcpiExSmBusSpaceHandler (
    875       1.1    jruoho     UINT32                  Function,
    876       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    877       1.1    jruoho     UINT32                  BitWidth,
    878       1.1    jruoho     UINT64                  *Value,
    879       1.1    jruoho     void                    *HandlerContext,
    880       1.1    jruoho     void                    *RegionContext);
    881       1.1    jruoho 
    882       1.1    jruoho 
    883       1.1    jruoho ACPI_STATUS
    884       1.1    jruoho AcpiExDataTableSpaceHandler (
    885       1.1    jruoho     UINT32                  Function,
    886       1.1    jruoho     ACPI_PHYSICAL_ADDRESS   Address,
    887       1.1    jruoho     UINT32                  BitWidth,
    888       1.1    jruoho     UINT64                  *Value,
    889       1.1    jruoho     void                    *HandlerContext,
    890       1.1    jruoho     void                    *RegionContext);
    891       1.1    jruoho 
    892       1.1    jruoho #endif /* __INTERP_H__ */
    893