Home | History | Annotate | Line # | Download | only in acpihelp
ahamlops.c revision 1.1.1.15.6.1
      1           1.1    jruoho /******************************************************************************
      2           1.1    jruoho  *
      3           1.1    jruoho  * Module Name: ahamlops - Table of all known AML opcodes
      4           1.1    jruoho  *
      5           1.1    jruoho  *****************************************************************************/
      6           1.1    jruoho 
      7  1.1.1.15.6.1  perseant /******************************************************************************
      8  1.1.1.15.6.1  perseant  *
      9  1.1.1.15.6.1  perseant  * 1. Copyright Notice
     10  1.1.1.15.6.1  perseant  *
     11  1.1.1.15.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.1.1.15.6.1  perseant  * 2. License
     15  1.1.1.15.6.1  perseant  *
     16  1.1.1.15.6.1  perseant  * 2.1. This is your license from Intel Corp. under its intellectual property
     17  1.1.1.15.6.1  perseant  * rights. You may have additional license terms from the party that provided
     18  1.1.1.15.6.1  perseant  * you this software, covering your right to use that party's intellectual
     19  1.1.1.15.6.1  perseant  * property rights.
     20  1.1.1.15.6.1  perseant  *
     21  1.1.1.15.6.1  perseant  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
     22  1.1.1.15.6.1  perseant  * copy of the source code appearing in this file ("Covered Code") an
     23  1.1.1.15.6.1  perseant  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
     24  1.1.1.15.6.1  perseant  * base code distributed originally by Intel ("Original Intel Code") to copy,
     25  1.1.1.15.6.1  perseant  * make derivatives, distribute, use and display any portion of the Covered
     26  1.1.1.15.6.1  perseant  * Code in any form, with the right to sublicense such rights; and
     27  1.1.1.15.6.1  perseant  *
     28  1.1.1.15.6.1  perseant  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
     29  1.1.1.15.6.1  perseant  * license (with the right to sublicense), under only those claims of Intel
     30  1.1.1.15.6.1  perseant  * patents that are infringed by the Original Intel Code, to make, use, sell,
     31  1.1.1.15.6.1  perseant  * offer to sell, and import the Covered Code and derivative works thereof
     32  1.1.1.15.6.1  perseant  * solely to the minimum extent necessary to exercise the above copyright
     33  1.1.1.15.6.1  perseant  * license, and in no event shall the patent license extend to any additions
     34  1.1.1.15.6.1  perseant  * to or modifications of the Original Intel Code. No other license or right
     35  1.1.1.15.6.1  perseant  * is granted directly or by implication, estoppel or otherwise;
     36  1.1.1.15.6.1  perseant  *
     37  1.1.1.15.6.1  perseant  * The above copyright and patent license is granted only if the following
     38  1.1.1.15.6.1  perseant  * conditions are met:
     39  1.1.1.15.6.1  perseant  *
     40  1.1.1.15.6.1  perseant  * 3. Conditions
     41  1.1.1.15.6.1  perseant  *
     42  1.1.1.15.6.1  perseant  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
     43  1.1.1.15.6.1  perseant  * Redistribution of source code of any substantial portion of the Covered
     44  1.1.1.15.6.1  perseant  * Code or modification with rights to further distribute source must include
     45  1.1.1.15.6.1  perseant  * the above Copyright Notice, the above License, this list of Conditions,
     46  1.1.1.15.6.1  perseant  * and the following Disclaimer and Export Compliance provision. In addition,
     47  1.1.1.15.6.1  perseant  * Licensee must cause all Covered Code to which Licensee contributes to
     48  1.1.1.15.6.1  perseant  * contain a file documenting the changes Licensee made to create that Covered
     49  1.1.1.15.6.1  perseant  * Code and the date of any change. Licensee must include in that file the
     50  1.1.1.15.6.1  perseant  * documentation of any changes made by any predecessor Licensee. Licensee
     51  1.1.1.15.6.1  perseant  * must include a prominent statement that the modification is derived,
     52  1.1.1.15.6.1  perseant  * directly or indirectly, from Original Intel Code.
     53  1.1.1.15.6.1  perseant  *
     54  1.1.1.15.6.1  perseant  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
     55  1.1.1.15.6.1  perseant  * Redistribution of source code of any substantial portion of the Covered
     56  1.1.1.15.6.1  perseant  * Code or modification without rights to further distribute source must
     57  1.1.1.15.6.1  perseant  * include the following Disclaimer and Export Compliance provision in the
     58  1.1.1.15.6.1  perseant  * documentation and/or other materials provided with distribution. In
     59  1.1.1.15.6.1  perseant  * addition, Licensee may not authorize further sublicense of source of any
     60  1.1.1.15.6.1  perseant  * portion of the Covered Code, and must include terms to the effect that the
     61  1.1.1.15.6.1  perseant  * license from Licensee to its licensee is limited to the intellectual
     62  1.1.1.15.6.1  perseant  * property embodied in the software Licensee provides to its licensee, and
     63  1.1.1.15.6.1  perseant  * not to intellectual property embodied in modifications its licensee may
     64  1.1.1.15.6.1  perseant  * make.
     65  1.1.1.15.6.1  perseant  *
     66  1.1.1.15.6.1  perseant  * 3.3. Redistribution of Executable. Redistribution in executable form of any
     67  1.1.1.15.6.1  perseant  * substantial portion of the Covered Code or modification must reproduce the
     68  1.1.1.15.6.1  perseant  * above Copyright Notice, and the following Disclaimer and Export Compliance
     69  1.1.1.15.6.1  perseant  * provision in the documentation and/or other materials provided with the
     70  1.1.1.15.6.1  perseant  * distribution.
     71  1.1.1.15.6.1  perseant  *
     72  1.1.1.15.6.1  perseant  * 3.4. Intel retains all right, title, and interest in and to the Original
     73  1.1.1.15.6.1  perseant  * Intel Code.
     74  1.1.1.15.6.1  perseant  *
     75  1.1.1.15.6.1  perseant  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
     76  1.1.1.15.6.1  perseant  * Intel shall be used in advertising or otherwise to promote the sale, use or
     77  1.1.1.15.6.1  perseant  * other dealings in products derived from or relating to the Covered Code
     78  1.1.1.15.6.1  perseant  * without prior written authorization from Intel.
     79  1.1.1.15.6.1  perseant  *
     80  1.1.1.15.6.1  perseant  * 4. Disclaimer and Export Compliance
     81  1.1.1.15.6.1  perseant  *
     82  1.1.1.15.6.1  perseant  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
     83  1.1.1.15.6.1  perseant  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
     84  1.1.1.15.6.1  perseant  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
     85  1.1.1.15.6.1  perseant  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
     86  1.1.1.15.6.1  perseant  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
     87  1.1.1.15.6.1  perseant  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
     88  1.1.1.15.6.1  perseant  * PARTICULAR PURPOSE.
     89  1.1.1.15.6.1  perseant  *
     90  1.1.1.15.6.1  perseant  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
     91  1.1.1.15.6.1  perseant  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
     92  1.1.1.15.6.1  perseant  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
     93  1.1.1.15.6.1  perseant  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
     94  1.1.1.15.6.1  perseant  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
     95  1.1.1.15.6.1  perseant  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
     96  1.1.1.15.6.1  perseant  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
     97  1.1.1.15.6.1  perseant  * LIMITED REMEDY.
     98  1.1.1.15.6.1  perseant  *
     99  1.1.1.15.6.1  perseant  * 4.3. Licensee shall not export, either directly or indirectly, any of this
    100  1.1.1.15.6.1  perseant  * software or system incorporating such software without first obtaining any
    101  1.1.1.15.6.1  perseant  * required license or other approval from the U. S. Department of Commerce or
    102  1.1.1.15.6.1  perseant  * any other agency or department of the United States Government. In the
    103  1.1.1.15.6.1  perseant  * event Licensee exports any such software from the United States or
    104  1.1.1.15.6.1  perseant  * re-exports any such software from a foreign destination, Licensee shall
    105  1.1.1.15.6.1  perseant  * ensure that the distribution and export/re-export of the software is in
    106  1.1.1.15.6.1  perseant  * compliance with all laws, regulations, orders, or other restrictions of the
    107  1.1.1.15.6.1  perseant  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
    108  1.1.1.15.6.1  perseant  * any of its subsidiaries will export/re-export any technical data, process,
    109  1.1.1.15.6.1  perseant  * software, or service, directly or indirectly, to any country for which the
    110  1.1.1.15.6.1  perseant  * United States government or any agency thereof requires an export license,
    111  1.1.1.15.6.1  perseant  * other governmental approval, or letter of assurance, without first obtaining
    112  1.1.1.15.6.1  perseant  * such license, approval or letter.
    113  1.1.1.15.6.1  perseant  *
    114  1.1.1.15.6.1  perseant  *****************************************************************************
    115  1.1.1.15.6.1  perseant  *
    116  1.1.1.15.6.1  perseant  * Alternatively, you may choose to be licensed under the terms of the
    117  1.1.1.15.6.1  perseant  * following license:
    118  1.1.1.15.6.1  perseant  *
    119           1.1    jruoho  * Redistribution and use in source and binary forms, with or without
    120           1.1    jruoho  * modification, are permitted provided that the following conditions
    121           1.1    jruoho  * are met:
    122           1.1    jruoho  * 1. Redistributions of source code must retain the above copyright
    123           1.1    jruoho  *    notice, this list of conditions, and the following disclaimer,
    124           1.1    jruoho  *    without modification.
    125           1.1    jruoho  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
    126           1.1    jruoho  *    substantially similar to the "NO WARRANTY" disclaimer below
    127           1.1    jruoho  *    ("Disclaimer") and any redistribution must be conditioned upon
    128           1.1    jruoho  *    including a substantially similar Disclaimer requirement for further
    129           1.1    jruoho  *    binary redistribution.
    130           1.1    jruoho  * 3. Neither the names of the above-listed copyright holders nor the names
    131           1.1    jruoho  *    of any contributors may be used to endorse or promote products derived
    132           1.1    jruoho  *    from this software without specific prior written permission.
    133           1.1    jruoho  *
    134           1.1    jruoho  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    135           1.1    jruoho  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    136      1.1.1.13  christos  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    137           1.1    jruoho  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    138  1.1.1.15.6.1  perseant  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    139  1.1.1.15.6.1  perseant  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    140  1.1.1.15.6.1  perseant  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    141  1.1.1.15.6.1  perseant  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    142  1.1.1.15.6.1  perseant  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    143  1.1.1.15.6.1  perseant  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    144  1.1.1.15.6.1  perseant  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    145  1.1.1.15.6.1  perseant  *
    146  1.1.1.15.6.1  perseant  * Alternatively, you may choose to be licensed under the terms of the
    147  1.1.1.15.6.1  perseant  * GNU General Public License ("GPL") version 2 as published by the Free
    148  1.1.1.15.6.1  perseant  * Software Foundation.
    149  1.1.1.15.6.1  perseant  *
    150  1.1.1.15.6.1  perseant  *****************************************************************************/
    151           1.1    jruoho 
    152           1.1    jruoho #include "acpihelp.h"
    153           1.1    jruoho 
    154       1.1.1.8  christos 
    155           1.1    jruoho /*
    156           1.1    jruoho  * AML opcodes with related syntax and grammar information.
    157           1.1    jruoho  * This table was extracted from the ACPI specification.
    158           1.1    jruoho  */
    159       1.1.1.9  christos const AH_AML_OPCODE         Gbl_AmlOpcodeInfo[] =
    160           1.1    jruoho {
    161           1.1    jruoho     {0x00,   0x00,   "0x00",            "ZeroOp",               "DataObject",   NULL,                                           NULL,
    162           1.1    jruoho                                                                 NULL},
    163           1.1    jruoho     {0x01,   0x01,   "0x01",            "OneOp",                "DataObject",   NULL,                                           NULL,
    164           1.1    jruoho                                                                 NULL},
    165           1.1    jruoho     {0x02,   0x05,   "0x02-0x05",       NULL,                   NULL,           NULL,                                           NULL,
    166           1.1    jruoho                                                                 NULL},
    167           1.1    jruoho     {0x06,   0x06,   "0x06",            "AliasOp",              "TermObject",   "NameString NameString",                        NULL,
    168           1.1    jruoho                                                                 "DefAlias := AliasOp NameString NameString"},
    169           1.1    jruoho     {0x07,   0x07,   "0x07",            NULL,                   NULL,           NULL,                                           NULL,
    170           1.1    jruoho                                                                 NULL},
    171           1.1    jruoho     {0x08,   0x08,   "0x08",            "NameOp",               "TermObject",   "NameString DataRefObject",                     NULL,
    172           1.1    jruoho                                                                 "DefName := NameOp NameString DataRefObject"},
    173           1.1    jruoho     {0x09,   0x09,   "0x09",            NULL,                   NULL,           NULL,                                           NULL,
    174           1.1    jruoho                                                                 NULL},
    175           1.1    jruoho     {0x0A,   0x0A,   "0x0A",            "BytePrefix",           "DataObject",   "ByteData",                                     NULL,
    176           1.1    jruoho                                                                 "ByteConst := BytePrefix ByteData"},
    177           1.1    jruoho     {0x0B,   0x0B,   "0x0B",            "WordPrefix",           "DataObject",   "WordData",                                     NULL,
    178           1.1    jruoho                                                                 "WordConst := WordPrefix WordData"},
    179           1.1    jruoho     {0x0C,   0x0C,   "0x0C",            "DWordPrefix",          "DataObject",   "DWordData",                                    NULL,
    180           1.1    jruoho                                                                 "DWordConst := DWordPrefix DWordData"},
    181           1.1    jruoho     {0x0D,   0x0D,   "0x0D",            "StringPrefix",         "DataObject",   "AsciiCharList NullChar",                       NULL,
    182           1.1    jruoho                                                                 "String := StringPrefix AsciiCharList NullChar"},
    183           1.1    jruoho     {0x0E,   0x0E,   "0x0E",            "QWordPrefix",          "DataObject",   "QWordData",                                    NULL,
    184           1.1    jruoho                                                                 "QWordConst := QWordPrefix QWordData"},
    185           1.1    jruoho     {0x0F,   0x0F,   "0x0F",            NULL,                   NULL,           NULL,                                           NULL,
    186           1.1    jruoho                                                                 NULL},
    187           1.1    jruoho     {0x10,   0x10,   "0x10",            "ScopeOp",              "TermObject",   "NameString",                                   "TermList",
    188           1.1    jruoho                                                                 "DefScope := ScopeOp PkgLength NameString TermList"},
    189           1.1    jruoho     {0x11,   0x11,   "0x11",            "BufferOp",             "TermObject",   "TermArg",                                      "ByteList",
    190           1.1    jruoho                                                                 "DefBuffer := BufferOp PkgLength BufferSize ByteList"},
    191           1.1    jruoho     {0x12,   0x12,   "0x12",            "PackageOp",            "TermObject",   "ByteData",                                     "Package TermList",
    192           1.1    jruoho                                                                 "DefPackage := PackageOp PkgLength NumElements PackageElementList"},
    193           1.1    jruoho     {0x13,   0x13,   "0x13",            "VarPackageOp",         "TermObject",   "TermArg",                                      "Package TermList",
    194           1.1    jruoho                                                                 "DefVarPackage := VarPackageOp PkgLength VarNumElements PackageElementList"},
    195           1.1    jruoho     {0x14,   0x14,   "0x14",            "MethodOp",             "TermObject",   "NameString ByteData",                          "TermList",
    196           1.1    jruoho                                                                 "DefMethod := MethodOp PkgLength NameString MethodFlags TermList"},
    197       1.1.1.5  christos     {0x15,   0x15,   "0x15",            "ExternalOp",           "NameObject",   "NameString ByteData ByteData",                 NULL,
    198       1.1.1.5  christos                                                                 "DefExternal := ExternalOp NameString ObjectType ArgumentCount"},
    199       1.1.1.5  christos     {0x16,   0x2D,   "0x16-0x2D",       NULL,                   NULL,           NULL,                                           NULL,
    200           1.1    jruoho                                                                 NULL},
    201           1.1    jruoho     {0x2E,   0x2E,   "0x2E",            "DualNamePrefix",       "NameObject",   "NameSeg NameSeg",                              NULL,
    202           1.1    jruoho                                                                 "DualNamePath := DualNamePrefix NameSeg NameSeg"},
    203           1.1    jruoho     {0x2F,   0x2F,   "0x2F",            "MultiNamePrefix",      "NameObject",   "ByteData NameSeg",                             NULL,
    204           1.1    jruoho                                                                 "MultiNamePath := MultiNamePrefix SegCount NameSeg(SegCount)"},
    205           1.1    jruoho     {0x30,   0x39,   "0x30-0x39",       "DigitChar",            "NameObject",   NULL,                                           NULL,
    206           1.1    jruoho                                                                 NULL},
    207           1.1    jruoho     {0x3A,   0x40,   "0x3A-0x40",       NULL,                   NULL,           NULL,                                           NULL,
    208           1.1    jruoho                                                                 NULL},
    209           1.1    jruoho     {0x41,   0x5A,   "0x41-0x5A",       "NameChar",             "NameObject",   NULL,                                           NULL,
    210           1.1    jruoho                                                                 NULL},
    211           1.1    jruoho     {0x5B,   0x5B,   "0x5B",            "ExtOpPrefix",          "DataObject",   "ByteData",                                     NULL,
    212           1.1    jruoho                                                                 NULL},
    213           1.1    jruoho     {0x5B00, 0x5B00, "0x5B00",          NULL,                   NULL,           NULL,                                           NULL,
    214           1.1    jruoho                                                                 NULL},
    215           1.1    jruoho     {0x5B01, 0x5B01, "0x5B01",          "MutexOp",              "TermObject",   "NameString ByteData",                          NULL,
    216           1.1    jruoho                                                                 "DefMutex := MutexOp NameString SyncFlags"},
    217           1.1    jruoho     {0x5B02, 0x5B02, "0x5B02",          "EventOp",              "TermObject",   "NameString",                                   NULL,
    218           1.1    jruoho                                                                 "DefEvent := EventOp NameString"},
    219           1.1    jruoho     {0x5B12, 0x5B12, "0x5B12",          "CondRefOfOp",          "TermObject",   "SuperName SuperName",                          NULL,
    220           1.1    jruoho                                                                 "DefCondRefOf := CondRefOfOp SuperName Target"},
    221           1.1    jruoho     {0x5B13, 0x5B13, "0x5B13",          "CreateFieldOp",        "TermObject",   "TermArg TermArg TermArg NameString",           NULL,
    222           1.1    jruoho                                                                 "DefCreateField := CreateFieldOp SourceBuff BitIndex NumBits NameString"},
    223           1.1    jruoho     {0x5B1F, 0x5B1F, "0x5B1F",          "LoadTableOp",          "TermObject",   "TermArg TermArg TermArg TermArg TermArg TermArg",      NULL,
    224           1.1    jruoho                                                                 "DefLoadTable := LoadTableOp TermArg TermArg TermArg TermArg TermArg TermArg"},
    225           1.1    jruoho     {0x5B20, 0x5B20, "0x5B20",          "LoadOp",               "TermObject",   "NameString SuperName",                         NULL,
    226       1.1.1.4  christos                                                                 "DefLoad := LoadOp NameString DdbHandleObject"},
    227           1.1    jruoho     {0x5B21, 0x5B21, "0x5B21",          "StallOp",              "TermObject",   "TermArg",                                      NULL,
    228           1.1    jruoho                                                                 "DefStall := StallOp UsecTime"},
    229           1.1    jruoho     {0x5B22, 0x5B22, "0x5B22",          "SleepOp",              "TermObject",   "TermArg",                                      NULL,
    230           1.1    jruoho                                                                 "DefSleep := SleepOp MsecTime"},
    231           1.1    jruoho     {0x5B23, 0x5B23, "0x5B23",          "AcquireOp",            "TermObject",   "SuperName WordData",                           NULL,
    232           1.1    jruoho                                                                 "DefAcquire := AcquireOp MutexObject Timeout"},
    233           1.1    jruoho     {0x5B24, 0x5B24, "0x5B24",          "SignalOp",             "TermObject",   "SuperName",                                    NULL,
    234           1.1    jruoho                                                                 "DefSignal := SignalOp EventObject"},
    235           1.1    jruoho     {0x5B25, 0x5B25, "0x5B25",          "WaitOp",               "TermObject",   "SuperName TermArg",                            NULL,
    236           1.1    jruoho                                                                 "DefWait := WaitOp EventObject Operand"},
    237           1.1    jruoho     {0x5B26, 0x5B26, "0x5B26",          "ResetOp",              "TermObject",   "SuperName",                                    NULL,
    238           1.1    jruoho                                                                 "DefReset := ResetOp EventObject"},
    239           1.1    jruoho     {0x5B27, 0x5B27, "0x5B27",          "ReleaseOp",            "TermObject",   "SuperName",                                    NULL,
    240           1.1    jruoho                                                                 "DefRelease := ReleaseOp MutexObject"},
    241       1.1.1.4  christos     {0x5B28, 0x5B28, "0x5B28",          "FromBcdOp",            "TermObject",   "TermArg Target",                               NULL,
    242       1.1.1.4  christos                                                                 "DefFromBcd := FromBcdOp BcdValue Target"},
    243       1.1.1.4  christos     {0x5B29, 0x5B29, "0x5B29",          "ToBcd",                "TermObject",   "TermArg Target",                               NULL,
    244       1.1.1.4  christos                                                                 "DefToBcd := ToBcdOp Operand Target"},
    245           1.1    jruoho     {0x5B2A, 0x5B2A, "0x5B2A",          "UnloadOp",             "TermObject",   "SuperName",                                    NULL,
    246       1.1.1.4  christos                                                                 "DefUnload := UnloadOp DdbHandleObject"},
    247           1.1    jruoho     {0x5B30, 0x5B30, "0x5B30",          "RevisionOp",           "DataObject",   NULL,                                           NULL,
    248           1.1    jruoho                                                                 NULL},
    249           1.1    jruoho     {0x5B31, 0x5B31, "0x5B31",          "DebugOp",              "DebugObject",  NULL,                                           NULL,
    250           1.1    jruoho                                                                 NULL},
    251           1.1    jruoho     {0x5B32, 0x5B32, "0x5B32",          "FatalOp",              "TermObject",   "ByteData DWordData TermArg",                   NULL,
    252           1.1    jruoho                                                                 "DefFatal := FatalOp FatalType FatalCode FatalArg"},
    253           1.1    jruoho     {0x5B33, 0x5B33, "0x5B33",          "TimerOp",              "TermObject",   NULL,                                           NULL,
    254           1.1    jruoho                                                                 "DefTimer := TimerOp"},
    255       1.1.1.3  christos     {0x5B80, 0x5B80, "0x5B80",          "OperationRegionOp",    "TermObject",   "NameString ByteData TermArg TermArg",          NULL,
    256           1.1    jruoho                                                                 "DefOpRegion := OpRegionOp NameString RegionSpace RegionOffset RegionLen"},
    257           1.1    jruoho     {0x5B81, 0x5B81, "0x5B81",          "FieldOp",              "TermObject",   "NameString ByteData",                          "FieldList",
    258           1.1    jruoho                                                                 "DefField := FieldOp PkgLength NameString FieldFlags FieldList"},
    259       1.1.1.7  christos     {0x5B82, 0x5B82, "0x5B82",          "DeviceOp",             "TermObject",   "NameString",                                   "TermList",
    260       1.1.1.7  christos                                                                 "DefDevice := DeviceOp PkgLength NameString TermList"},
    261       1.1.1.7  christos     {0x5B83, 0x5B83, "0x5B83",          "ProcessorOp",          "TermObject",   "NameString ByteData DWordData ByteData",       "TermList",
    262       1.1.1.7  christos                                                                 "DefProcessor := ProcessorOp PkgLength NameString ProcId PblkAddr PblkLen TermList"},
    263       1.1.1.7  christos     {0x5B84, 0x5B84, "0x5B84",          "PowerResOp",           "TermObject",   "NameString ByteData WordData",                 "TermList",
    264       1.1.1.7  christos                                                                 "DefPowerRes := PowerResOp PkgLength NameString SystemLevel ResourceOrder TermList"},
    265       1.1.1.7  christos     {0x5B85, 0x5B85, "0x5B85",          "ThermalZoneOp",        "TermObject",   "NameString",                                   "TermList",
    266       1.1.1.7  christos                                                                 "DefThermalZone := ThermalZoneOp PkgLength NameString TermList"},
    267           1.1    jruoho     {0x5B86, 0x5B86, "0x5B86",          "IndexFieldOp",         "TermObject",   "NameString NameString ByteData",               "FieldList",
    268           1.1    jruoho                                                                 "DefIndexField := IndexFieldOp PkgLength NameString NameString FieldFlags FieldList"},
    269           1.1    jruoho     {0x5B87, 0x5B87, "0x5B87",          "BankFieldOp",          "TermObject",   "NameString NameString TermArg ByteData",       "FieldList",
    270           1.1    jruoho                                                                 "DefBankField := BankFieldOp PkgLength NameString NameString BankValue FieldFlags FieldList"},
    271           1.1    jruoho     {0x5B88, 0x5B88, "0x5B88",          "DataRegionOp",         "TermObject",   "NameString TermArg TermArg TermArg",           NULL,
    272           1.1    jruoho                                                                 "DefDataRegion := DataRegionOp NameString TermArg TermArg TermArg"},
    273           1.1    jruoho     {0x5B89, 0x5BFF, "0x5B89-0x5BFF",   NULL,                   NULL,           NULL,                                           NULL,
    274           1.1    jruoho                                                                 NULL},
    275           1.1    jruoho     {0x5C,   0x5C,   "0x5C",            "RootChar",             "NameObject",   NULL,                                           NULL,
    276           1.1    jruoho                                                                 NULL},
    277           1.1    jruoho     {0x5D,   0x5D,   "0x5D",            NULL,                   NULL,           NULL,                                           NULL,
    278           1.1    jruoho                                                                 NULL},
    279           1.1    jruoho     {0x5E,   0x5E,   "0x5E",            "ParentPrefixChar",     "NameObject",   NULL,                                           NULL,
    280           1.1    jruoho                                                                 NULL},
    281           1.1    jruoho     {0x5F,   0x5F,   "0x5F",            "NameChar",             "NameObject",   NULL,                                           NULL,
    282           1.1    jruoho                                                                 NULL},
    283           1.1    jruoho     {0x60,   0x60,   "0x60",            "Local0Op",             "LocalObject",  NULL,                                           NULL,
    284           1.1    jruoho                                                                 NULL},
    285           1.1    jruoho     {0x61,   0x61,   "0x61",            "Local1Op",             "LocalObject",  NULL,                                           NULL,
    286           1.1    jruoho                                                                 NULL},
    287           1.1    jruoho     {0x62,   0x62,   "0x62",            "Local2Op",             "LocalObject",  NULL,                                           NULL,
    288           1.1    jruoho                                                                 NULL},
    289           1.1    jruoho     {0x63,   0x63,   "0x63",            "Local3Op",             "LocalObject",  NULL,                                           NULL,
    290           1.1    jruoho                                                                 NULL},
    291           1.1    jruoho     {0x64,   0x64,   "0x64",            "Local4Op",             "LocalObject",  NULL,                                           NULL,
    292           1.1    jruoho                                                                 NULL},
    293           1.1    jruoho     {0x65,   0x65,   "0x65",            "Local5Op",             "LocalObject",  NULL,                                           NULL,
    294           1.1    jruoho                                                                 NULL},
    295           1.1    jruoho     {0x66,   0x66,   "0x66",            "Local6Op",             "LocalObject",  NULL,                                           NULL,
    296           1.1    jruoho                                                                 NULL},
    297           1.1    jruoho     {0x67,   0x67,   "0x67",            "Local7Op",             "LocalObject",  NULL,                                           NULL,
    298           1.1    jruoho                                                                 NULL},
    299           1.1    jruoho     {0x68,   0x68,   "0x68",            "Arg0Op",               "ArgObject",    NULL,                                           NULL,
    300           1.1    jruoho                                                                 NULL},
    301           1.1    jruoho     {0x69,   0x69,   "0x69",            "Arg1Op",               "ArgObject",    NULL,                                           NULL,
    302           1.1    jruoho                                                                 NULL},
    303           1.1    jruoho     {0x6A,   0x6A,   "0x6A",            "Arg2Op",               "ArgObject",    NULL,                                           NULL,
    304           1.1    jruoho                                                                 NULL},
    305           1.1    jruoho     {0x6B,   0x6B,   "0x6B",            "Arg3Op",               "ArgObject",    NULL,                                           NULL,
    306           1.1    jruoho                                                                 NULL},
    307           1.1    jruoho     {0x6C,   0x6C,   "0x6C",            "Arg4Op",               "ArgObject",    NULL,                                           NULL,
    308           1.1    jruoho                                                                 NULL},
    309           1.1    jruoho     {0x6D,   0x6D,   "0x6D",            "Arg5Op",               "ArgObject",    NULL,                                           NULL,
    310           1.1    jruoho                                                                 NULL},
    311           1.1    jruoho     {0x6E,   0x6E,   "0x6E",            "Arg6Op",               "ArgObject",    NULL,                                           NULL,
    312           1.1    jruoho                                                                 NULL},
    313           1.1    jruoho     {0x6F,   0x6F,   "0x6F",            NULL,                   NULL,           NULL,                                           NULL,
    314           1.1    jruoho                                                                 NULL},
    315           1.1    jruoho     {0x70,   0x70,   "0x70",            "StoreOp",              "TermObject",   "TermArg SuperName",                            NULL,
    316           1.1    jruoho                                                                 "DefStore := StoreOp TermArg SuperName"},
    317           1.1    jruoho     {0x71,   0x71,   "0x71",            "RefOfOp",              "TermObject",   "SuperName ",                                   NULL,
    318           1.1    jruoho                                                                 "DefRefOf := RefOfOp SuperName"},
    319           1.1    jruoho     {0x72,   0x72,   "0x72",            "AddOp",                "TermObject",   "TermArg TermArg Target",                       NULL,
    320           1.1    jruoho                                                                 "DefAdd := AddOp Operand Operand Target"},
    321           1.1    jruoho     {0x73,   0x73,   "0x73",            "ConcatOp",             "TermObject",   "TermArg TermArg Target",                       NULL,
    322           1.1    jruoho                                                                 "DefConcat := ConcatOp Data Data Target"},
    323           1.1    jruoho     {0x74,   0x74,   "0x74",            "SubtractOp",           "TermObject",   "TermArg TermArg Target",                       NULL,
    324           1.1    jruoho                                                                 "DefSubtract := SubtractOp Operand Operand Target"},
    325           1.1    jruoho     {0x75,   0x75,   "0x75",            "IncrementOp",          "TermObject",   "SuperName",                                    NULL,
    326           1.1    jruoho                                                                 "DefIncrement := IncrementOp SuperName"},
    327           1.1    jruoho     {0x76,   0x76,   "0x76",            "DecrementOp",          "TermObject",   "SuperName",                                    NULL,
    328           1.1    jruoho                                                                 "DefDecrement := DecrementOp SuperName"},
    329           1.1    jruoho     {0x77,   0x77,   "0x77",            "MultiplyOp",           "TermObject",   "TermArg TermArg Target",                       NULL,
    330           1.1    jruoho                                                                 "DefMultiply := MultiplyOp Operand Operand Target"},
    331           1.1    jruoho     {0x78,   0x78,   "0x78",            "DivideOp",             "TermObject",   "TermArg TermArg Target Target",                NULL,
    332           1.1    jruoho                                                                 "DefDivide := DivideOp Dividend Divisor Remainder Quotient"},
    333           1.1    jruoho     {0x79,   0x79,   "0x79",            "ShiftLeftOp",          "TermObject",   "TermArg TermArg Target",                       NULL,
    334           1.1    jruoho                                                                 "DefShiftLeft := ShiftLeftOp Operand ShiftCount Target"},
    335           1.1    jruoho     {0x7A,   0x7A,   "0x7A",            "ShiftRightOp",         "TermObject",   "TermArg TermArg Target",                       NULL,
    336           1.1    jruoho                                                                 "DefShiftRight := ShiftRightOp Operand ShiftCount Target"},
    337           1.1    jruoho     {0x7B,   0x7B,   "0x7B",            "AndOp",                "TermObject",   "TermArg TermArg Target",                       NULL,
    338           1.1    jruoho                                                                 "DefAnd := AndOp Operand Operand Target"},
    339           1.1    jruoho     {0x7C,   0x7C,   "0x7C",            "NandOp",               "TermObject",   "TermArg TermArg Target",                       NULL,
    340       1.1.1.4  christos                                                                 "DefNand := NandOp Operand Operand Target"},
    341           1.1    jruoho     {0x7D,   0x7D,   "0x7D",            "OrOp",                 "TermObject",   "TermArg TermArg Target",                       NULL,
    342           1.1    jruoho                                                                 "DefOr := OrOp Operand Operand Target"},
    343           1.1    jruoho     {0x7E,   0x7E,   "0x7E",            "NorOp",                "TermObject",   "TermArg TermArg Target",                       NULL,
    344       1.1.1.4  christos                                                                 "DefNor := NorOp Operand Operand Target"},
    345           1.1    jruoho     {0x7F,   0x7F,   "0x7F",            "XorOp",                "TermObject",   "TermArg TermArg Target",                       NULL,
    346       1.1.1.4  christos                                                                 "DefXor := XorOp Operand Operand Target"},
    347           1.1    jruoho     {0x80,   0x80,   "0x80",            "NotOp",                "TermObject",   "TermArg Target",                               NULL,
    348           1.1    jruoho                                                                 "DefNot := NotOp Operand Target"},
    349           1.1    jruoho     {0x81,   0x81,   "0x81",            "FindSetLeftBitOp",     "TermObject",   "TermArg Target",                               NULL,
    350           1.1    jruoho                                                                 "DefFindSetLeftBit := FindSetLeftBitOp Operand Target"},
    351           1.1    jruoho     {0x82,   0x82,   "0x82",            "FindSetRightBitOp",    "TermObject",   "TermArg Target",                               NULL,
    352           1.1    jruoho                                                                 "DefFindSetRightBit := FindSetRightBitOp Operand Target"},
    353           1.1    jruoho     {0x83,   0x83,   "0x83",            "DerefOfOp",            "TermObject",   "TermArg",                                      NULL,
    354           1.1    jruoho                                                                 "DefDerefOf := DerefOfOp ObjReference"},
    355           1.1    jruoho     {0x84,   0x84,   "0x84",            "ConcatResOp",          "TermObject",   "TermArg TermArg Target",                       NULL,
    356           1.1    jruoho                                                                 "DefConcatRes := ConcatResOp BufData BufData Target"},
    357           1.1    jruoho     {0x85,   0x85,   "0x85",            "ModOp",                "TermObject",   "TermArg TermArg Target",                       NULL,
    358           1.1    jruoho                                                                 "DefMod := ModOp Dividend Divisor Target"},
    359           1.1    jruoho     {0x86,   0x86,   "0x86",            "NotifyOp",             "TermObject",   "SuperName TermArg",                            NULL,
    360           1.1    jruoho                                                                 "DefNotify := NotifyOp NotifyObject NotifyValue"},
    361           1.1    jruoho     {0x87,   0x87,   "0x87",            "SizeOfOp",             "TermObject",   "SuperName",                                    NULL,
    362           1.1    jruoho                                                                 "DefSizeOf := SizeOfOp SuperName"},
    363           1.1    jruoho     {0x88,   0x88,   "0x88",            "IndexOp",              "TermObject",   "TermArg TermArg Target",                       NULL,
    364           1.1    jruoho                                                                 "DefIndex := IndexOp BuffPkgStrObj IndexValue Target"},
    365           1.1    jruoho     {0x89,   0x89,   "0x89",            "MatchOp",              "TermObject",   "TermArg ByteData TermArg ByteData TermArg TermArg",    NULL,
    366           1.1    jruoho                                                                 "DefMatch := MatchOp SearchPkg MatchOpcode Operand MatchOpcode Operand StartIndex"},
    367           1.1    jruoho     {0x8A,   0x8A,   "0x8A",            "CreateDWordFieldOp",   "TermObject",   "TermArg TermArg NameString",                   NULL,
    368           1.1    jruoho                                                                 "DefCreateDWordField := CreateDWordFieldOp SourceBuff ByteIndex NameString"},
    369           1.1    jruoho     {0x8B,   0x8B,   "0x8B",            "CreateWordFieldOp",    "TermObject",   "TermArg TermArg NameString",                   NULL,
    370           1.1    jruoho                                                                 "DefCreateWordField := CreateWordFieldOp SourceBuff ByteIndex NameString"},
    371           1.1    jruoho     {0x8C,   0x8C,   "0x8C",            "CreateByteFieldOp",    "TermObject",   "TermArg TermArg NameString",                   NULL,
    372           1.1    jruoho                                                                 "DefCreateByteField := CreateByteFieldOp SourceBuff ByteIndex NameString"},
    373           1.1    jruoho     {0x8D,   0x8D,   "0x8D",            "CreateBitFieldOp",     "TermObject",   "TermArg TermArg NameString",                   NULL,
    374           1.1    jruoho                                                                 "DefCreateBitField := CreateBitFieldOp SourceBuff BitIndex NameString"},
    375           1.1    jruoho     {0x8E,   0x8E,   "0x8E",            "ObjectTypeOp",         "TermObject",   "SuperName",                                    NULL,
    376           1.1    jruoho                                                                 "DefObjectType := ObjectTypeOp SuperName"},
    377           1.1    jruoho     {0x8F,   0x8F,   "0x8F",            "CreateQWordFieldOp",   "TermObject",   "TermArg TermArg NameString",                   NULL,
    378           1.1    jruoho                                                                 "DefCreateQWordField := CreateQWordFieldOp SourceBuff ByteIndex NameString"},
    379           1.1    jruoho     {0x90,   0x90,   "0x90",            "LAndOp",               "TermObject",   "TermArg TermArg",                              NULL,
    380       1.1.1.4  christos                                                                 "DefLAnd := LAndOp Operand Operand"},
    381           1.1    jruoho     {0x91,   0x91,   "0x91",            "LOrOp",                "TermObject",   "TermArg TermArg",                              NULL,
    382       1.1.1.4  christos                                                                 "DefLOr := LOrOp Operand Operand"},
    383           1.1    jruoho     {0x92,   0x92,   "0x92",            "LNotOp",               "TermObject",   "TermArg",                                      NULL,
    384       1.1.1.4  christos                                                                 "DefLNot := LNotOp Operand"},
    385           1.1    jruoho     {0x9293, 0x9293, "0x9293",          "LNotEqualOp",          "TermObject",   "TermArg TermArg",                              NULL,
    386       1.1.1.4  christos                                                                 "DefLNotEqual := LNotEqualOp Operand Operand"},
    387           1.1    jruoho     {0x9294, 0x9294, "0x9294",          "LLessEqualOp",         "TermObject",   "TermArg TermArg",                              NULL,
    388       1.1.1.4  christos                                                                 "DefLLessEqual := LLessEqualOp Operand Operand"},
    389           1.1    jruoho     {0x9295, 0x9295, "0x9295",          "LGreaterEqualOp",      "TermObject",   "TermArg TermArg",                              NULL,
    390       1.1.1.4  christos                                                                 "DefLGreaterEqual := LGreaterEqualOp Operand Operand"},
    391           1.1    jruoho     {0x93,   0x93,   "0x93",            "LEqualOp",             "TermObject",   "TermArg TermArg",                              NULL,
    392       1.1.1.4  christos                                                                 "DefLEqual := LEqualOp Operand Operand"},
    393           1.1    jruoho     {0x94,   0x94,   "0x94",            "LGreaterOp",           "TermObject",   "TermArg TermArg",                              NULL,
    394       1.1.1.4  christos                                                                 "DefLGreater := LGreaterOp Operand Operand"},
    395           1.1    jruoho     {0x95,   0x95,   "0x95",            "LLessOp",              "TermObject",   "TermArg TermArg",                              NULL,
    396       1.1.1.4  christos                                                                 "DefLLess := LLessOp Operand Operand"},
    397           1.1    jruoho     {0x96,   0x96,   "0x96",            "ToBufferOp",           "TermObject",   "TermArg Target",                               NULL,
    398           1.1    jruoho                                                                 "DefToBuffer := ToBufferOp Operand Target"},
    399           1.1    jruoho     {0x97,   0x97,   "0x97",            "ToDecimalStringOp",    "TermObject",   "TermArg Target",                               NULL,
    400           1.1    jruoho                                                                 "DefToDecimalString := ToDecimalStringOp Operand Target"},
    401           1.1    jruoho     {0x98,   0x98,   "0x98",            "ToHexStringOp",        "TermObject",   "TermArg Target",                               NULL,
    402           1.1    jruoho                                                                 "DefToHexString := ToHexStringOp Operand Target"},
    403           1.1    jruoho     {0x99,   0x99,   "0x99",            "ToIntegerOp",          "TermObject",   "TermArg Target",                               NULL,
    404           1.1    jruoho                                                                 "DefToInteger := ToIntegerOp Operand Target"},
    405           1.1    jruoho     {0x9A,   0x9B,   "0x9A-0x9B",       NULL,                   NULL,           NULL,                                           NULL,
    406           1.1    jruoho                                                                 NULL},
    407           1.1    jruoho     {0x9C,   0x9C,   "0x9C",            "ToStringOp",           "TermObject",   "TermArg TermArg Target",                       NULL,
    408           1.1    jruoho                                                                 "DefToString := ToStringOp TermArg LengthArg Target"},
    409           1.1    jruoho     {0x9D,   0x9D,   "0x9D",            "CopyObjectOp",         "TermObject",   "TermArg SimpleName",                           NULL,
    410           1.1    jruoho                                                                 "DefCopyObject := CopyObjectOp TermArg SimpleName"},
    411           1.1    jruoho     {0x9E,   0x9E,   "0x9E",            "MidOp",                "TermObject",   "TermArg TermArg TermArg Target",               NULL,
    412           1.1    jruoho                                                                 "DefMid := MidOp MidObj TermArg TermArg Target"},
    413           1.1    jruoho     {0x9F,   0x9F,   "0x9F",            "ContinueOp",           "TermObject",   NULL,                                           NULL,
    414           1.1    jruoho                                                                 "DefContinue := ContinueOp"},
    415           1.1    jruoho     {0xA0,   0xA0,   "0xA0",            "IfOp",                 "TermObject",   "TermArg",                                      "TermList",
    416           1.1    jruoho                                                                 "DefIfElse := IfOp PkgLength Predicate TermList DefElse"},
    417           1.1    jruoho     {0xA1,   0xA1,   "0xA1",            "ElseOp",               "TermObject",   NULL,                                           "TermList",
    418           1.1    jruoho                                                                 "DefElse := Nothing | <ElseOp PkgLength TermList>"},
    419           1.1    jruoho     {0xA2,   0xA2,   "0xA2",            "WhileOp",              "TermObject",   "TermArg",                                      "TermList",
    420           1.1    jruoho                                                                 "DefWhile := WhileOp PkgLength Predicate TermList"},
    421       1.1.1.4  christos     {0xA3,   0xA3,   "0xA3",            "NoOpOp",               "TermObject",   NULL,                                           NULL,
    422       1.1.1.4  christos                                                                 "DefNoOp := NoOpOp"},
    423           1.1    jruoho     {0xA4,   0xA4,   "0xA4",            "ReturnOp",             "TermObject",   "TermArg",                                      NULL,
    424           1.1    jruoho                                                                 "DefReturn := ReturnOp ArgObject"},
    425           1.1    jruoho     {0xA5,   0xA5,   "0xA5",            "BreakOp",              "TermObject",   NULL,                                           NULL,
    426           1.1    jruoho                                                                 "DefBreak := BreakOp"},
    427           1.1    jruoho     {0xA6,   0xCB,   "0xA6-0xCB",       NULL,                   NULL,           NULL,                                           NULL,
    428           1.1    jruoho                                                                 NULL},
    429           1.1    jruoho     {0xCC,   0xCC,   "0xCC",            "BreakPointOp",         "TermObject",   NULL,                                           NULL,
    430           1.1    jruoho                                                                 "DefBreakPoint := BreakPointOp"},
    431           1.1    jruoho     {0xCD,   0xFE,   "0xCD-0xFE",       NULL,                   NULL,           NULL,                                           NULL,
    432           1.1    jruoho                                                                 NULL},
    433           1.1    jruoho     {0xFF,   0xFF,   "0xFF",            "OnesOp",               "DataObject",   NULL,                                           NULL,
    434           1.1    jruoho                                                                 NULL},
    435           1.1    jruoho     {0, 0, NULL,  NULL, NULL, NULL, NULL, NULL}
    436           1.1    jruoho };
    437