Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure
   1 /******************************************************************************
   2  *
   3  * Name: acopcode.h - AML opcode information for the AML parser and interpreter
   4  *
   5  *****************************************************************************/
   6 
   7 /*
   8  * Copyright (C) 2000 - 2011, Intel Corp.
   9  * All rights reserved.
  10  *
  11  * Redistribution and use in source and binary forms, with or without
  12  * modification, are permitted provided that the following conditions
  13  * are met:
  14  * 1. Redistributions of source code must retain the above copyright
  15  *    notice, this list of conditions, and the following disclaimer,
  16  *    without modification.
  17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18  *    substantially similar to the "NO WARRANTY" disclaimer below
  19  *    ("Disclaimer") and any redistribution must be conditioned upon
  20  *    including a substantially similar Disclaimer requirement for further
  21  *    binary redistribution.
  22  * 3. Neither the names of the above-listed copyright holders nor the names
  23  *    of any contributors may be used to endorse or promote products derived
  24  *    from this software without specific prior written permission.
  25  *
  26  * Alternatively, this software may be distributed under the terms of the
  27  * GNU General Public License ("GPL") version 2 as published by the Free
  28  * Software Foundation.


  77 #define ARGP_ARG2                       ARG_NONE
  78 #define ARGP_ARG3                       ARG_NONE
  79 #define ARGP_ARG4                       ARG_NONE
  80 #define ARGP_ARG5                       ARG_NONE
  81 #define ARGP_ARG6                       ARG_NONE
  82 #define ARGP_BANK_FIELD_OP              ARGP_LIST6 (ARGP_PKGLENGTH,  ARGP_NAMESTRING,    ARGP_NAMESTRING,ARGP_TERMARG,   ARGP_BYTEDATA,  ARGP_FIELDLIST)
  83 #define ARGP_BIT_AND_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  84 #define ARGP_BIT_NAND_OP                ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  85 #define ARGP_BIT_NOR_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  86 #define ARGP_BIT_NOT_OP                 ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
  87 #define ARGP_BIT_OR_OP                  ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  88 #define ARGP_BIT_XOR_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  89 #define ARGP_BREAK_OP                   ARG_NONE
  90 #define ARGP_BREAK_POINT_OP             ARG_NONE
  91 #define ARGP_BUFFER_OP                  ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_TERMARG,       ARGP_BYTELIST)
  92 #define ARGP_BYTE_OP                    ARGP_LIST1 (ARGP_BYTEDATA)
  93 #define ARGP_BYTELIST_OP                ARGP_LIST1 (ARGP_NAMESTRING)
  94 #define ARGP_CONCAT_OP                  ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  95 #define ARGP_CONCAT_RES_OP              ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  96 #define ARGP_COND_REF_OF_OP             ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_SUPERNAME)

  97 #define ARGP_CONTINUE_OP                ARG_NONE
  98 #define ARGP_COPY_OP                    ARGP_LIST2 (ARGP_TERMARG,    ARGP_SIMPLENAME)
  99 #define ARGP_CREATE_BIT_FIELD_OP        ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 100 #define ARGP_CREATE_BYTE_FIELD_OP       ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 101 #define ARGP_CREATE_DWORD_FIELD_OP      ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 102 #define ARGP_CREATE_FIELD_OP            ARGP_LIST4 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TERMARG,   ARGP_NAME)
 103 #define ARGP_CREATE_QWORD_FIELD_OP      ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 104 #define ARGP_CREATE_WORD_FIELD_OP       ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 105 #define ARGP_DATA_REGION_OP             ARGP_LIST4 (ARGP_NAME,       ARGP_TERMARG,       ARGP_TERMARG,   ARGP_TERMARG)
 106 #define ARGP_DEBUG_OP                   ARG_NONE
 107 #define ARGP_DECREMENT_OP               ARGP_LIST1 (ARGP_SUPERNAME)
 108 #define ARGP_DEREF_OF_OP                ARGP_LIST1 (ARGP_TERMARG)
 109 #define ARGP_DEVICE_OP                  ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_OBJLIST)
 110 #define ARGP_DIVIDE_OP                  ARGP_LIST4 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET,    ARGP_TARGET)
 111 #define ARGP_DWORD_OP                   ARGP_LIST1 (ARGP_DWORDDATA)
 112 #define ARGP_ELSE_OP                    ARGP_LIST2 (ARGP_PKGLENGTH,  ARGP_TERMLIST)
 113 #define ARGP_EVENT_OP                   ARGP_LIST1 (ARGP_NAME)
 114 #define ARGP_FATAL_OP                   ARGP_LIST3 (ARGP_BYTEDATA,   ARGP_DWORDDATA,     ARGP_TERMARG)
 115 #define ARGP_FIELD_OP                   ARGP_LIST4 (ARGP_PKGLENGTH,  ARGP_NAMESTRING,    ARGP_BYTEDATA,  ARGP_FIELDLIST)
 116 #define ARGP_FIND_SET_LEFT_BIT_OP       ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)


 148 #define ARGP_MUTEX_OP                   ARGP_LIST2 (ARGP_NAME,       ARGP_BYTEDATA)
 149 #define ARGP_NAME_OP                    ARGP_LIST2 (ARGP_NAME,       ARGP_DATAOBJ)
 150 #define ARGP_NAMEDFIELD_OP              ARGP_LIST1 (ARGP_NAMESTRING)
 151 #define ARGP_NAMEPATH_OP                ARGP_LIST1 (ARGP_NAMESTRING)
 152 #define ARGP_NOOP_OP                    ARG_NONE
 153 #define ARGP_NOTIFY_OP                  ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_TERMARG)
 154 #define ARGP_ONE_OP                     ARG_NONE
 155 #define ARGP_ONES_OP                    ARG_NONE
 156 #define ARGP_PACKAGE_OP                 ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_BYTEDATA,      ARGP_DATAOBJLIST)
 157 #define ARGP_POWER_RES_OP               ARGP_LIST5 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_WORDDATA,  ARGP_OBJLIST)
 158 #define ARGP_PROCESSOR_OP               ARGP_LIST6 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_DWORDDATA, ARGP_BYTEDATA,  ARGP_OBJLIST)
 159 #define ARGP_QWORD_OP                   ARGP_LIST1 (ARGP_QWORDDATA)
 160 #define ARGP_REF_OF_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
 161 #define ARGP_REGION_OP                  ARGP_LIST4 (ARGP_NAME,       ARGP_BYTEDATA,      ARGP_TERMARG,   ARGP_TERMARG)
 162 #define ARGP_RELEASE_OP                 ARGP_LIST1 (ARGP_SUPERNAME)
 163 #define ARGP_RESERVEDFIELD_OP           ARGP_LIST1 (ARGP_NAMESTRING)
 164 #define ARGP_RESET_OP                   ARGP_LIST1 (ARGP_SUPERNAME)
 165 #define ARGP_RETURN_OP                  ARGP_LIST1 (ARGP_TERMARG)
 166 #define ARGP_REVISION_OP                ARG_NONE
 167 #define ARGP_SCOPE_OP                   ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_TERMLIST)

 168 #define ARGP_SHIFT_LEFT_OP              ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 169 #define ARGP_SHIFT_RIGHT_OP             ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 170 #define ARGP_SIGNAL_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
 171 #define ARGP_SIZE_OF_OP                 ARGP_LIST1 (ARGP_SUPERNAME)
 172 #define ARGP_SLEEP_OP                   ARGP_LIST1 (ARGP_TERMARG)
 173 #define ARGP_STALL_OP                   ARGP_LIST1 (ARGP_TERMARG)
 174 #define ARGP_STATICSTRING_OP            ARGP_LIST1 (ARGP_NAMESTRING)
 175 #define ARGP_STORE_OP                   ARGP_LIST2 (ARGP_TERMARG,    ARGP_SUPERNAME)
 176 #define ARGP_STRING_OP                  ARGP_LIST1 (ARGP_CHARLIST)
 177 #define ARGP_SUBTRACT_OP                ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 178 #define ARGP_THERMAL_ZONE_OP            ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_OBJLIST)
 179 #define ARGP_TIMER_OP                   ARG_NONE
 180 #define ARGP_TO_BCD_OP                  ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 181 #define ARGP_TO_BUFFER_OP               ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 182 #define ARGP_TO_DEC_STR_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 183 #define ARGP_TO_HEX_STR_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 184 #define ARGP_TO_INTEGER_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 185 #define ARGP_TO_STRING_OP               ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 186 #define ARGP_TYPE_OP                    ARGP_LIST1 (ARGP_SUPERNAME)
 187 #define ARGP_UNLOAD_OP                  ARGP_LIST1 (ARGP_SUPERNAME)


 208 #define ARGI_ARG2                       ARG_NONE
 209 #define ARGI_ARG3                       ARG_NONE
 210 #define ARGI_ARG4                       ARG_NONE
 211 #define ARGI_ARG5                       ARG_NONE
 212 #define ARGI_ARG6                       ARG_NONE
 213 #define ARGI_BANK_FIELD_OP              ARGI_INVALID_OPCODE
 214 #define ARGI_BIT_AND_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 215 #define ARGI_BIT_NAND_OP                ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 216 #define ARGI_BIT_NOR_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 217 #define ARGI_BIT_NOT_OP                 ARGI_LIST2 (ARGI_INTEGER,    ARGI_TARGETREF)
 218 #define ARGI_BIT_OR_OP                  ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 219 #define ARGI_BIT_XOR_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 220 #define ARGI_BREAK_OP                   ARG_NONE
 221 #define ARGI_BREAK_POINT_OP             ARG_NONE
 222 #define ARGI_BUFFER_OP                  ARGI_LIST1 (ARGI_INTEGER)
 223 #define ARGI_BYTE_OP                    ARGI_INVALID_OPCODE
 224 #define ARGI_BYTELIST_OP                ARGI_INVALID_OPCODE
 225 #define ARGI_CONCAT_OP                  ARGI_LIST3 (ARGI_COMPUTEDATA,ARGI_COMPUTEDATA,   ARGI_TARGETREF)
 226 #define ARGI_CONCAT_RES_OP              ARGI_LIST3 (ARGI_BUFFER,     ARGI_BUFFER,        ARGI_TARGETREF)
 227 #define ARGI_COND_REF_OF_OP             ARGI_LIST2 (ARGI_OBJECT_REF, ARGI_TARGETREF)

 228 #define ARGI_CONTINUE_OP                ARGI_INVALID_OPCODE
 229 #define ARGI_COPY_OP                    ARGI_LIST2 (ARGI_ANYTYPE,    ARGI_SIMPLE_TARGET)
 230 #define ARGI_CREATE_BIT_FIELD_OP        ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 231 #define ARGI_CREATE_BYTE_FIELD_OP       ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 232 #define ARGI_CREATE_DWORD_FIELD_OP      ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 233 #define ARGI_CREATE_FIELD_OP            ARGI_LIST4 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_INTEGER,      ARGI_REFERENCE)
 234 #define ARGI_CREATE_QWORD_FIELD_OP      ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 235 #define ARGI_CREATE_WORD_FIELD_OP       ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 236 #define ARGI_DATA_REGION_OP             ARGI_LIST3 (ARGI_STRING,     ARGI_STRING,        ARGI_STRING)
 237 #define ARGI_DEBUG_OP                   ARG_NONE
 238 #define ARGI_DECREMENT_OP               ARGI_LIST1 (ARGI_TARGETREF)
 239 #define ARGI_DEREF_OF_OP                ARGI_LIST1 (ARGI_REF_OR_STRING)
 240 #define ARGI_DEVICE_OP                  ARGI_INVALID_OPCODE
 241 #define ARGI_DIVIDE_OP                  ARGI_LIST4 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF,    ARGI_TARGETREF)
 242 #define ARGI_DWORD_OP                   ARGI_INVALID_OPCODE
 243 #define ARGI_ELSE_OP                    ARGI_INVALID_OPCODE
 244 #define ARGI_EVENT_OP                   ARGI_INVALID_OPCODE
 245 #define ARGI_FATAL_OP                   ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_INTEGER)
 246 #define ARGI_FIELD_OP                   ARGI_INVALID_OPCODE
 247 #define ARGI_FIND_SET_LEFT_BIT_OP       ARGI_LIST2 (ARGI_INTEGER,    ARGI_TARGETREF)


 279 #define ARGI_MUTEX_OP                   ARGI_INVALID_OPCODE
 280 #define ARGI_NAME_OP                    ARGI_INVALID_OPCODE
 281 #define ARGI_NAMEDFIELD_OP              ARGI_INVALID_OPCODE
 282 #define ARGI_NAMEPATH_OP                ARGI_INVALID_OPCODE
 283 #define ARGI_NOOP_OP                    ARG_NONE
 284 #define ARGI_NOTIFY_OP                  ARGI_LIST2 (ARGI_DEVICE_REF, ARGI_INTEGER)
 285 #define ARGI_ONE_OP                     ARG_NONE
 286 #define ARGI_ONES_OP                    ARG_NONE
 287 #define ARGI_PACKAGE_OP                 ARGI_LIST1 (ARGI_INTEGER)
 288 #define ARGI_POWER_RES_OP               ARGI_INVALID_OPCODE
 289 #define ARGI_PROCESSOR_OP               ARGI_INVALID_OPCODE
 290 #define ARGI_QWORD_OP                   ARGI_INVALID_OPCODE
 291 #define ARGI_REF_OF_OP                  ARGI_LIST1 (ARGI_OBJECT_REF)
 292 #define ARGI_REGION_OP                  ARGI_LIST2 (ARGI_INTEGER,    ARGI_INTEGER)
 293 #define ARGI_RELEASE_OP                 ARGI_LIST1 (ARGI_MUTEX)
 294 #define ARGI_RESERVEDFIELD_OP           ARGI_INVALID_OPCODE
 295 #define ARGI_RESET_OP                   ARGI_LIST1 (ARGI_EVENT)
 296 #define ARGI_RETURN_OP                  ARGI_INVALID_OPCODE
 297 #define ARGI_REVISION_OP                ARG_NONE
 298 #define ARGI_SCOPE_OP                   ARGI_INVALID_OPCODE

 299 #define ARGI_SHIFT_LEFT_OP              ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 300 #define ARGI_SHIFT_RIGHT_OP             ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 301 #define ARGI_SIGNAL_OP                  ARGI_LIST1 (ARGI_EVENT)
 302 #define ARGI_SIZE_OF_OP                 ARGI_LIST1 (ARGI_DATAOBJECT)
 303 #define ARGI_SLEEP_OP                   ARGI_LIST1 (ARGI_INTEGER)
 304 #define ARGI_STALL_OP                   ARGI_LIST1 (ARGI_INTEGER)
 305 #define ARGI_STATICSTRING_OP            ARGI_INVALID_OPCODE
 306 #define ARGI_STORE_OP                   ARGI_LIST2 (ARGI_DATAREFOBJ, ARGI_TARGETREF)
 307 #define ARGI_STRING_OP                  ARGI_INVALID_OPCODE
 308 #define ARGI_SUBTRACT_OP                ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 309 #define ARGI_THERMAL_ZONE_OP            ARGI_INVALID_OPCODE
 310 #define ARGI_TIMER_OP                   ARG_NONE
 311 #define ARGI_TO_BCD_OP                  ARGI_LIST2 (ARGI_INTEGER,    ARGI_FIXED_TARGET)
 312 #define ARGI_TO_BUFFER_OP               ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 313 #define ARGI_TO_DEC_STR_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 314 #define ARGI_TO_HEX_STR_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 315 #define ARGI_TO_INTEGER_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 316 #define ARGI_TO_STRING_OP               ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_FIXED_TARGET)
 317 #define ARGI_TYPE_OP                    ARGI_LIST1 (ARGI_ANYTYPE)
 318 #define ARGI_UNLOAD_OP                  ARGI_LIST1 (ARGI_DDBHANDLE)
   1 /******************************************************************************
   2  *
   3  * Name: acopcode.h - AML opcode information for the AML parser and interpreter
   4  *
   5  *****************************************************************************/
   6 
   7 /*
   8  * Copyright (C) 2000 - 2014, Intel Corp.
   9  * All rights reserved.
  10  *
  11  * Redistribution and use in source and binary forms, with or without
  12  * modification, are permitted provided that the following conditions
  13  * are met:
  14  * 1. Redistributions of source code must retain the above copyright
  15  *    notice, this list of conditions, and the following disclaimer,
  16  *    without modification.
  17  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18  *    substantially similar to the "NO WARRANTY" disclaimer below
  19  *    ("Disclaimer") and any redistribution must be conditioned upon
  20  *    including a substantially similar Disclaimer requirement for further
  21  *    binary redistribution.
  22  * 3. Neither the names of the above-listed copyright holders nor the names
  23  *    of any contributors may be used to endorse or promote products derived
  24  *    from this software without specific prior written permission.
  25  *
  26  * Alternatively, this software may be distributed under the terms of the
  27  * GNU General Public License ("GPL") version 2 as published by the Free
  28  * Software Foundation.


  77 #define ARGP_ARG2                       ARG_NONE
  78 #define ARGP_ARG3                       ARG_NONE
  79 #define ARGP_ARG4                       ARG_NONE
  80 #define ARGP_ARG5                       ARG_NONE
  81 #define ARGP_ARG6                       ARG_NONE
  82 #define ARGP_BANK_FIELD_OP              ARGP_LIST6 (ARGP_PKGLENGTH,  ARGP_NAMESTRING,    ARGP_NAMESTRING,ARGP_TERMARG,   ARGP_BYTEDATA,  ARGP_FIELDLIST)
  83 #define ARGP_BIT_AND_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  84 #define ARGP_BIT_NAND_OP                ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  85 #define ARGP_BIT_NOR_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  86 #define ARGP_BIT_NOT_OP                 ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
  87 #define ARGP_BIT_OR_OP                  ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  88 #define ARGP_BIT_XOR_OP                 ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  89 #define ARGP_BREAK_OP                   ARG_NONE
  90 #define ARGP_BREAK_POINT_OP             ARG_NONE
  91 #define ARGP_BUFFER_OP                  ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_TERMARG,       ARGP_BYTELIST)
  92 #define ARGP_BYTE_OP                    ARGP_LIST1 (ARGP_BYTEDATA)
  93 #define ARGP_BYTELIST_OP                ARGP_LIST1 (ARGP_NAMESTRING)
  94 #define ARGP_CONCAT_OP                  ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  95 #define ARGP_CONCAT_RES_OP              ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
  96 #define ARGP_COND_REF_OF_OP             ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_SUPERNAME)
  97 #define ARGP_CONNECTFIELD_OP            ARGP_LIST1 (ARGP_NAMESTRING)
  98 #define ARGP_CONTINUE_OP                ARG_NONE
  99 #define ARGP_COPY_OP                    ARGP_LIST2 (ARGP_TERMARG,    ARGP_SIMPLENAME)
 100 #define ARGP_CREATE_BIT_FIELD_OP        ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 101 #define ARGP_CREATE_BYTE_FIELD_OP       ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 102 #define ARGP_CREATE_DWORD_FIELD_OP      ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 103 #define ARGP_CREATE_FIELD_OP            ARGP_LIST4 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TERMARG,   ARGP_NAME)
 104 #define ARGP_CREATE_QWORD_FIELD_OP      ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 105 #define ARGP_CREATE_WORD_FIELD_OP       ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_NAME)
 106 #define ARGP_DATA_REGION_OP             ARGP_LIST4 (ARGP_NAME,       ARGP_TERMARG,       ARGP_TERMARG,   ARGP_TERMARG)
 107 #define ARGP_DEBUG_OP                   ARG_NONE
 108 #define ARGP_DECREMENT_OP               ARGP_LIST1 (ARGP_SUPERNAME)
 109 #define ARGP_DEREF_OF_OP                ARGP_LIST1 (ARGP_TERMARG)
 110 #define ARGP_DEVICE_OP                  ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_OBJLIST)
 111 #define ARGP_DIVIDE_OP                  ARGP_LIST4 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET,    ARGP_TARGET)
 112 #define ARGP_DWORD_OP                   ARGP_LIST1 (ARGP_DWORDDATA)
 113 #define ARGP_ELSE_OP                    ARGP_LIST2 (ARGP_PKGLENGTH,  ARGP_TERMLIST)
 114 #define ARGP_EVENT_OP                   ARGP_LIST1 (ARGP_NAME)
 115 #define ARGP_FATAL_OP                   ARGP_LIST3 (ARGP_BYTEDATA,   ARGP_DWORDDATA,     ARGP_TERMARG)
 116 #define ARGP_FIELD_OP                   ARGP_LIST4 (ARGP_PKGLENGTH,  ARGP_NAMESTRING,    ARGP_BYTEDATA,  ARGP_FIELDLIST)
 117 #define ARGP_FIND_SET_LEFT_BIT_OP       ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)


 149 #define ARGP_MUTEX_OP                   ARGP_LIST2 (ARGP_NAME,       ARGP_BYTEDATA)
 150 #define ARGP_NAME_OP                    ARGP_LIST2 (ARGP_NAME,       ARGP_DATAOBJ)
 151 #define ARGP_NAMEDFIELD_OP              ARGP_LIST1 (ARGP_NAMESTRING)
 152 #define ARGP_NAMEPATH_OP                ARGP_LIST1 (ARGP_NAMESTRING)
 153 #define ARGP_NOOP_OP                    ARG_NONE
 154 #define ARGP_NOTIFY_OP                  ARGP_LIST2 (ARGP_SUPERNAME,  ARGP_TERMARG)
 155 #define ARGP_ONE_OP                     ARG_NONE
 156 #define ARGP_ONES_OP                    ARG_NONE
 157 #define ARGP_PACKAGE_OP                 ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_BYTEDATA,      ARGP_DATAOBJLIST)
 158 #define ARGP_POWER_RES_OP               ARGP_LIST5 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_WORDDATA,  ARGP_OBJLIST)
 159 #define ARGP_PROCESSOR_OP               ARGP_LIST6 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_BYTEDATA,  ARGP_DWORDDATA, ARGP_BYTEDATA,  ARGP_OBJLIST)
 160 #define ARGP_QWORD_OP                   ARGP_LIST1 (ARGP_QWORDDATA)
 161 #define ARGP_REF_OF_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
 162 #define ARGP_REGION_OP                  ARGP_LIST4 (ARGP_NAME,       ARGP_BYTEDATA,      ARGP_TERMARG,   ARGP_TERMARG)
 163 #define ARGP_RELEASE_OP                 ARGP_LIST1 (ARGP_SUPERNAME)
 164 #define ARGP_RESERVEDFIELD_OP           ARGP_LIST1 (ARGP_NAMESTRING)
 165 #define ARGP_RESET_OP                   ARGP_LIST1 (ARGP_SUPERNAME)
 166 #define ARGP_RETURN_OP                  ARGP_LIST1 (ARGP_TERMARG)
 167 #define ARGP_REVISION_OP                ARG_NONE
 168 #define ARGP_SCOPE_OP                   ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_TERMLIST)
 169 #define ARGP_SERIALFIELD_OP             ARGP_LIST1 (ARGP_NAMESTRING)
 170 #define ARGP_SHIFT_LEFT_OP              ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 171 #define ARGP_SHIFT_RIGHT_OP             ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 172 #define ARGP_SIGNAL_OP                  ARGP_LIST1 (ARGP_SUPERNAME)
 173 #define ARGP_SIZE_OF_OP                 ARGP_LIST1 (ARGP_SUPERNAME)
 174 #define ARGP_SLEEP_OP                   ARGP_LIST1 (ARGP_TERMARG)
 175 #define ARGP_STALL_OP                   ARGP_LIST1 (ARGP_TERMARG)
 176 #define ARGP_STATICSTRING_OP            ARGP_LIST1 (ARGP_NAMESTRING)
 177 #define ARGP_STORE_OP                   ARGP_LIST2 (ARGP_TERMARG,    ARGP_SUPERNAME)
 178 #define ARGP_STRING_OP                  ARGP_LIST1 (ARGP_CHARLIST)
 179 #define ARGP_SUBTRACT_OP                ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 180 #define ARGP_THERMAL_ZONE_OP            ARGP_LIST3 (ARGP_PKGLENGTH,  ARGP_NAME,          ARGP_OBJLIST)
 181 #define ARGP_TIMER_OP                   ARG_NONE
 182 #define ARGP_TO_BCD_OP                  ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 183 #define ARGP_TO_BUFFER_OP               ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 184 #define ARGP_TO_DEC_STR_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 185 #define ARGP_TO_HEX_STR_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 186 #define ARGP_TO_INTEGER_OP              ARGP_LIST2 (ARGP_TERMARG,    ARGP_TARGET)
 187 #define ARGP_TO_STRING_OP               ARGP_LIST3 (ARGP_TERMARG,    ARGP_TERMARG,       ARGP_TARGET)
 188 #define ARGP_TYPE_OP                    ARGP_LIST1 (ARGP_SUPERNAME)
 189 #define ARGP_UNLOAD_OP                  ARGP_LIST1 (ARGP_SUPERNAME)


 210 #define ARGI_ARG2                       ARG_NONE
 211 #define ARGI_ARG3                       ARG_NONE
 212 #define ARGI_ARG4                       ARG_NONE
 213 #define ARGI_ARG5                       ARG_NONE
 214 #define ARGI_ARG6                       ARG_NONE
 215 #define ARGI_BANK_FIELD_OP              ARGI_INVALID_OPCODE
 216 #define ARGI_BIT_AND_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 217 #define ARGI_BIT_NAND_OP                ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 218 #define ARGI_BIT_NOR_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 219 #define ARGI_BIT_NOT_OP                 ARGI_LIST2 (ARGI_INTEGER,    ARGI_TARGETREF)
 220 #define ARGI_BIT_OR_OP                  ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 221 #define ARGI_BIT_XOR_OP                 ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 222 #define ARGI_BREAK_OP                   ARG_NONE
 223 #define ARGI_BREAK_POINT_OP             ARG_NONE
 224 #define ARGI_BUFFER_OP                  ARGI_LIST1 (ARGI_INTEGER)
 225 #define ARGI_BYTE_OP                    ARGI_INVALID_OPCODE
 226 #define ARGI_BYTELIST_OP                ARGI_INVALID_OPCODE
 227 #define ARGI_CONCAT_OP                  ARGI_LIST3 (ARGI_COMPUTEDATA,ARGI_COMPUTEDATA,   ARGI_TARGETREF)
 228 #define ARGI_CONCAT_RES_OP              ARGI_LIST3 (ARGI_BUFFER,     ARGI_BUFFER,        ARGI_TARGETREF)
 229 #define ARGI_COND_REF_OF_OP             ARGI_LIST2 (ARGI_OBJECT_REF, ARGI_TARGETREF)
 230 #define ARGI_CONNECTFIELD_OP            ARGI_INVALID_OPCODE
 231 #define ARGI_CONTINUE_OP                ARGI_INVALID_OPCODE
 232 #define ARGI_COPY_OP                    ARGI_LIST2 (ARGI_ANYTYPE,    ARGI_SIMPLE_TARGET)
 233 #define ARGI_CREATE_BIT_FIELD_OP        ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 234 #define ARGI_CREATE_BYTE_FIELD_OP       ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 235 #define ARGI_CREATE_DWORD_FIELD_OP      ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 236 #define ARGI_CREATE_FIELD_OP            ARGI_LIST4 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_INTEGER,      ARGI_REFERENCE)
 237 #define ARGI_CREATE_QWORD_FIELD_OP      ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 238 #define ARGI_CREATE_WORD_FIELD_OP       ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_REFERENCE)
 239 #define ARGI_DATA_REGION_OP             ARGI_LIST3 (ARGI_STRING,     ARGI_STRING,        ARGI_STRING)
 240 #define ARGI_DEBUG_OP                   ARG_NONE
 241 #define ARGI_DECREMENT_OP               ARGI_LIST1 (ARGI_TARGETREF)
 242 #define ARGI_DEREF_OF_OP                ARGI_LIST1 (ARGI_REF_OR_STRING)
 243 #define ARGI_DEVICE_OP                  ARGI_INVALID_OPCODE
 244 #define ARGI_DIVIDE_OP                  ARGI_LIST4 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF,    ARGI_TARGETREF)
 245 #define ARGI_DWORD_OP                   ARGI_INVALID_OPCODE
 246 #define ARGI_ELSE_OP                    ARGI_INVALID_OPCODE
 247 #define ARGI_EVENT_OP                   ARGI_INVALID_OPCODE
 248 #define ARGI_FATAL_OP                   ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_INTEGER)
 249 #define ARGI_FIELD_OP                   ARGI_INVALID_OPCODE
 250 #define ARGI_FIND_SET_LEFT_BIT_OP       ARGI_LIST2 (ARGI_INTEGER,    ARGI_TARGETREF)


 282 #define ARGI_MUTEX_OP                   ARGI_INVALID_OPCODE
 283 #define ARGI_NAME_OP                    ARGI_INVALID_OPCODE
 284 #define ARGI_NAMEDFIELD_OP              ARGI_INVALID_OPCODE
 285 #define ARGI_NAMEPATH_OP                ARGI_INVALID_OPCODE
 286 #define ARGI_NOOP_OP                    ARG_NONE
 287 #define ARGI_NOTIFY_OP                  ARGI_LIST2 (ARGI_DEVICE_REF, ARGI_INTEGER)
 288 #define ARGI_ONE_OP                     ARG_NONE
 289 #define ARGI_ONES_OP                    ARG_NONE
 290 #define ARGI_PACKAGE_OP                 ARGI_LIST1 (ARGI_INTEGER)
 291 #define ARGI_POWER_RES_OP               ARGI_INVALID_OPCODE
 292 #define ARGI_PROCESSOR_OP               ARGI_INVALID_OPCODE
 293 #define ARGI_QWORD_OP                   ARGI_INVALID_OPCODE
 294 #define ARGI_REF_OF_OP                  ARGI_LIST1 (ARGI_OBJECT_REF)
 295 #define ARGI_REGION_OP                  ARGI_LIST2 (ARGI_INTEGER,    ARGI_INTEGER)
 296 #define ARGI_RELEASE_OP                 ARGI_LIST1 (ARGI_MUTEX)
 297 #define ARGI_RESERVEDFIELD_OP           ARGI_INVALID_OPCODE
 298 #define ARGI_RESET_OP                   ARGI_LIST1 (ARGI_EVENT)
 299 #define ARGI_RETURN_OP                  ARGI_INVALID_OPCODE
 300 #define ARGI_REVISION_OP                ARG_NONE
 301 #define ARGI_SCOPE_OP                   ARGI_INVALID_OPCODE
 302 #define ARGI_SERIALFIELD_OP             ARGI_INVALID_OPCODE
 303 #define ARGI_SHIFT_LEFT_OP              ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 304 #define ARGI_SHIFT_RIGHT_OP             ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 305 #define ARGI_SIGNAL_OP                  ARGI_LIST1 (ARGI_EVENT)
 306 #define ARGI_SIZE_OF_OP                 ARGI_LIST1 (ARGI_DATAOBJECT)
 307 #define ARGI_SLEEP_OP                   ARGI_LIST1 (ARGI_INTEGER)
 308 #define ARGI_STALL_OP                   ARGI_LIST1 (ARGI_INTEGER)
 309 #define ARGI_STATICSTRING_OP            ARGI_INVALID_OPCODE
 310 #define ARGI_STORE_OP                   ARGI_LIST2 (ARGI_DATAREFOBJ, ARGI_TARGETREF)
 311 #define ARGI_STRING_OP                  ARGI_INVALID_OPCODE
 312 #define ARGI_SUBTRACT_OP                ARGI_LIST3 (ARGI_INTEGER,    ARGI_INTEGER,       ARGI_TARGETREF)
 313 #define ARGI_THERMAL_ZONE_OP            ARGI_INVALID_OPCODE
 314 #define ARGI_TIMER_OP                   ARG_NONE
 315 #define ARGI_TO_BCD_OP                  ARGI_LIST2 (ARGI_INTEGER,    ARGI_FIXED_TARGET)
 316 #define ARGI_TO_BUFFER_OP               ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 317 #define ARGI_TO_DEC_STR_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 318 #define ARGI_TO_HEX_STR_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 319 #define ARGI_TO_INTEGER_OP              ARGI_LIST2 (ARGI_COMPUTEDATA,ARGI_FIXED_TARGET)
 320 #define ARGI_TO_STRING_OP               ARGI_LIST3 (ARGI_BUFFER,     ARGI_INTEGER,       ARGI_FIXED_TARGET)
 321 #define ARGI_TYPE_OP                    ARGI_LIST1 (ARGI_ANYTYPE)
 322 #define ARGI_UNLOAD_OP                  ARGI_LIST1 (ARGI_DDBHANDLE)