asltokens.y revision 1.1.1.16       1       1.1  christos NoEcho('
      2       1.1  christos /******************************************************************************
      3       1.1  christos  *
      4       1.1  christos  * Module Name: asltokens.y - Bison/Yacc token types
      5       1.1  christos  *
      6       1.1  christos  *****************************************************************************/
      7       1.1  christos 
      8       1.1  christos /*
      9  1.1.1.15  christos  * Copyright (C) 2000 - 2023, Intel Corp.
     10       1.1  christos  * All rights reserved.
     11       1.1  christos  *
     12       1.1  christos  * Redistribution and use in source and binary forms, with or without
     13       1.1  christos  * modification, are permitted provided that the following conditions
     14       1.1  christos  * are met:
     15       1.1  christos  * 1. Redistributions of source code must retain the above copyright
     16       1.1  christos  *    notice, this list of conditions, and the following disclaimer,
     17       1.1  christos  *    without modification.
     18       1.1  christos  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
     19       1.1  christos  *    substantially similar to the "NO WARRANTY" disclaimer below
     20       1.1  christos  *    ("Disclaimer") and any redistribution must be conditioned upon
     21       1.1  christos  *    including a substantially similar Disclaimer requirement for further
     22       1.1  christos  *    binary redistribution.
     23       1.1  christos  * 3. Neither the names of the above-listed copyright holders nor the names
     24       1.1  christos  *    of any contributors may be used to endorse or promote products derived
     25       1.1  christos  *    from this software without specific prior written permission.
     26       1.1  christos  *
     27       1.1  christos  * Alternatively, this software may be distributed under the terms of the
     28       1.1  christos  * GNU General Public License ("GPL") version 2 as published by the Free
     29       1.1  christos  * Software Foundation.
     30       1.1  christos  *
     31       1.1  christos  * NO WARRANTY
     32       1.1  christos  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     33       1.1  christos  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     34  1.1.1.13  christos  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
     35       1.1  christos  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
     36       1.1  christos  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
     37       1.1  christos  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
     38       1.1  christos  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     39       1.1  christos  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
     40       1.1  christos  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
     41       1.1  christos  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     42       1.1  christos  * POSSIBILITY OF SUCH DAMAGES.
     43       1.1  christos  */
     44       1.1  christos 
     45       1.1  christos ')
     46       1.1  christos 
     47       1.1  christos /******************************************************************************
     48       1.1  christos  *
     49       1.1  christos  * Token types: These are returned by the lexer
     50       1.1  christos  *
     51       1.1  christos  * NOTE: This list MUST match the AslKeywordMapping table found
     52       1.1  christos  *       in aslmap.c EXACTLY!  Double check any changes!
     53       1.1  christos  *
     54       1.1  christos  *****************************************************************************/
     55       1.1  christos 
     56   1.1.1.5  christos /*
     57   1.1.1.5  christos  * Most tokens are defined to return <i>, which is a UINT64.
     58   1.1.1.5  christos  *
     59   1.1.1.5  christos  * These tokens return <s>, a pointer to the associated lexed string:
     60   1.1.1.5  christos  *
     61   1.1.1.5  christos  *  PARSEOP_NAMESEG
     62   1.1.1.5  christos  *  PARSEOP_NAMESTRING
     63   1.1.1.5  christos  *  PARSEOP_STRING_LITERAL
     64   1.1.1.5  christos  *  PARSEOP_STRUCTURE_NAMESTRING
     65   1.1.1.5  christos  */
     66       1.1  christos %token <i> PARSEOP_ACCESSAS
     67       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_BLOCK
     68       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
     69       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_BYTE
     70   1.1.1.9  christos %token <i> PARSEOP_ACCESSATTRIB_BYTES
     71       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_QUICK
     72       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
     73       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
     74       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_SND_RCV
     75       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_WORD
     76       1.1  christos %token <i> PARSEOP_ACCESSATTRIB_WORD_CALL
     77       1.1  christos %token <i> PARSEOP_ACCESSTYPE_ANY
     78       1.1  christos %token <i> PARSEOP_ACCESSTYPE_BUF
     79       1.1  christos %token <i> PARSEOP_ACCESSTYPE_BYTE
     80       1.1  christos %token <i> PARSEOP_ACCESSTYPE_DWORD
     81       1.1  christos %token <i> PARSEOP_ACCESSTYPE_QWORD
     82       1.1  christos %token <i> PARSEOP_ACCESSTYPE_WORD
     83       1.1  christos %token <i> PARSEOP_ACQUIRE
     84       1.1  christos %token <i> PARSEOP_ADD
     85       1.1  christos %token <i> PARSEOP_ADDRESSINGMODE_7BIT
     86       1.1  christos %token <i> PARSEOP_ADDRESSINGMODE_10BIT
     87       1.1  christos %token <i> PARSEOP_ADDRESSTYPE_ACPI
     88       1.1  christos %token <i> PARSEOP_ADDRESSTYPE_MEMORY
     89       1.1  christos %token <i> PARSEOP_ADDRESSTYPE_NVS
     90       1.1  christos %token <i> PARSEOP_ADDRESSTYPE_RESERVED
     91       1.1  christos %token <i> PARSEOP_ALIAS
     92       1.1  christos %token <i> PARSEOP_AND
     93       1.1  christos %token <i> PARSEOP_ARG0
     94       1.1  christos %token <i> PARSEOP_ARG1
     95       1.1  christos %token <i> PARSEOP_ARG2
     96       1.1  christos %token <i> PARSEOP_ARG3
     97       1.1  christos %token <i> PARSEOP_ARG4
     98       1.1  christos %token <i> PARSEOP_ARG5
     99       1.1  christos %token <i> PARSEOP_ARG6
    100       1.1  christos %token <i> PARSEOP_BANKFIELD
    101       1.1  christos %token <i> PARSEOP_BITSPERBYTE_EIGHT
    102       1.1  christos %token <i> PARSEOP_BITSPERBYTE_FIVE
    103       1.1  christos %token <i> PARSEOP_BITSPERBYTE_NINE
    104       1.1  christos %token <i> PARSEOP_BITSPERBYTE_SEVEN
    105       1.1  christos %token <i> PARSEOP_BITSPERBYTE_SIX
    106       1.1  christos %token <i> PARSEOP_BREAK
    107       1.1  christos %token <i> PARSEOP_BREAKPOINT
    108       1.1  christos %token <i> PARSEOP_BUFFER
    109       1.1  christos %token <i> PARSEOP_BUSMASTERTYPE_MASTER
    110       1.1  christos %token <i> PARSEOP_BUSMASTERTYPE_NOTMASTER
    111       1.1  christos %token <i> PARSEOP_BYTECONST
    112       1.1  christos %token <i> PARSEOP_CASE
    113       1.1  christos %token <i> PARSEOP_CLOCKPHASE_FIRST
    114       1.1  christos %token <i> PARSEOP_CLOCKPHASE_SECOND
    115       1.1  christos %token <i> PARSEOP_CLOCKPOLARITY_HIGH
    116       1.1  christos %token <i> PARSEOP_CLOCKPOLARITY_LOW
    117       1.1  christos %token <i> PARSEOP_CONCATENATE
    118       1.1  christos %token <i> PARSEOP_CONCATENATERESTEMPLATE
    119       1.1  christos %token <i> PARSEOP_CONDREFOF
    120       1.1  christos %token <i> PARSEOP_CONNECTION
    121       1.1  christos %token <i> PARSEOP_CONTINUE
    122       1.1  christos %token <i> PARSEOP_COPYOBJECT
    123       1.1  christos %token <i> PARSEOP_CREATEBITFIELD
    124       1.1  christos %token <i> PARSEOP_CREATEBYTEFIELD
    125       1.1  christos %token <i> PARSEOP_CREATEDWORDFIELD
    126       1.1  christos %token <i> PARSEOP_CREATEFIELD
    127       1.1  christos %token <i> PARSEOP_CREATEQWORDFIELD
    128       1.1  christos %token <i> PARSEOP_CREATEWORDFIELD
    129       1.1  christos %token <i> PARSEOP_DATABUFFER
    130       1.1  christos %token <i> PARSEOP_DATATABLEREGION
    131       1.1  christos %token <i> PARSEOP_DEBUG
    132       1.1  christos %token <i> PARSEOP_DECODETYPE_POS
    133       1.1  christos %token <i> PARSEOP_DECODETYPE_SUB
    134       1.1  christos %token <i> PARSEOP_DECREMENT
    135       1.1  christos %token <i> PARSEOP_DEFAULT
    136       1.1  christos %token <i> PARSEOP_DEFAULT_ARG
    137   1.1.1.3  christos %token <i> PARSEOP_DEFINITION_BLOCK
    138       1.1  christos %token <i> PARSEOP_DEREFOF
    139       1.1  christos %token <i> PARSEOP_DEVICE
    140       1.1  christos %token <i> PARSEOP_DEVICEPOLARITY_HIGH
    141       1.1  christos %token <i> PARSEOP_DEVICEPOLARITY_LOW
    142       1.1  christos %token <i> PARSEOP_DIVIDE
    143       1.1  christos %token <i> PARSEOP_DMA
    144       1.1  christos %token <i> PARSEOP_DMATYPE_A
    145       1.1  christos %token <i> PARSEOP_DMATYPE_COMPATIBILITY
    146       1.1  christos %token <i> PARSEOP_DMATYPE_B
    147       1.1  christos %token <i> PARSEOP_DMATYPE_F
    148       1.1  christos %token <i> PARSEOP_DWORDCONST
    149       1.1  christos %token <i> PARSEOP_DWORDIO
    150       1.1  christos %token <i> PARSEOP_DWORDMEMORY
    151  1.1.1.16  christos %token <i> PARSEOP_DWORDPCC
    152       1.1  christos %token <i> PARSEOP_DWORDSPACE
    153       1.1  christos %token <i> PARSEOP_EISAID
    154       1.1  christos %token <i> PARSEOP_ELSE
    155       1.1  christos %token <i> PARSEOP_ELSEIF
    156       1.1  christos %token <i> PARSEOP_ENDDEPENDENTFN
    157       1.1  christos %token <i> PARSEOP_ENDIAN_BIG
    158       1.1  christos %token <i> PARSEOP_ENDIAN_LITTLE
    159       1.1  christos %token <i> PARSEOP_ENDTAG
    160       1.1  christos %token <i> PARSEOP_ERRORNODE
    161       1.1  christos %token <i> PARSEOP_EVENT
    162       1.1  christos %token <i> PARSEOP_EXTENDEDIO
    163       1.1  christos %token <i> PARSEOP_EXTENDEDMEMORY
    164       1.1  christos %token <i> PARSEOP_EXTENDEDSPACE
    165       1.1  christos %token <i> PARSEOP_EXTERNAL
    166       1.1  christos %token <i> PARSEOP_FATAL
    167       1.1  christos %token <i> PARSEOP_FIELD
    168       1.1  christos %token <i> PARSEOP_FINDSETLEFTBIT
    169       1.1  christos %token <i> PARSEOP_FINDSETRIGHTBIT
    170       1.1  christos %token <i> PARSEOP_FIXEDDMA
    171       1.1  christos %token <i> PARSEOP_FIXEDIO
    172       1.1  christos %token <i> PARSEOP_FLOWCONTROL_HW
    173       1.1  christos %token <i> PARSEOP_FLOWCONTROL_NONE
    174       1.1  christos %token <i> PARSEOP_FLOWCONTROL_SW
    175       1.1  christos %token <i> PARSEOP_FROMBCD
    176       1.1  christos %token <i> PARSEOP_FUNCTION
    177       1.1  christos %token <i> PARSEOP_GPIO_INT
    178       1.1  christos %token <i> PARSEOP_GPIO_IO
    179  1.1.1.13  christos %token <i> PARSEOP_CSI2_SERIALBUS
    180       1.1  christos %token <i> PARSEOP_I2C_SERIALBUS
    181   1.1.1.4  christos %token <i> PARSEOP_I2C_SERIALBUS_V2
    182       1.1  christos %token <i> PARSEOP_IF
    183       1.1  christos %token <i> PARSEOP_INCLUDE
    184       1.1  christos %token <i> PARSEOP_INCLUDE_END
    185       1.1  christos %token <i> PARSEOP_INCREMENT
    186       1.1  christos %token <i> PARSEOP_INDEX
    187       1.1  christos %token <i> PARSEOP_INDEXFIELD
    188       1.1  christos %token <i> PARSEOP_INTEGER
    189       1.1  christos %token <i> PARSEOP_INTERRUPT
    190       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVEBOTH
    191       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVEHIGH
    192       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVELOW
    193       1.1  christos %token <i> PARSEOP_INTTYPE_EDGE
    194       1.1  christos %token <i> PARSEOP_INTTYPE_LEVEL
    195       1.1  christos %token <i> PARSEOP_IO
    196       1.1  christos %token <i> PARSEOP_IODECODETYPE_10
    197       1.1  christos %token <i> PARSEOP_IODECODETYPE_16
    198       1.1  christos %token <i> PARSEOP_IORESTRICT_IN
    199       1.1  christos %token <i> PARSEOP_IORESTRICT_NONE
    200       1.1  christos %token <i> PARSEOP_IORESTRICT_OUT
    201       1.1  christos %token <i> PARSEOP_IORESTRICT_PRESERVE
    202       1.1  christos %token <i> PARSEOP_IRQ
    203       1.1  christos %token <i> PARSEOP_IRQNOFLAGS
    204       1.1  christos %token <i> PARSEOP_LAND
    205       1.1  christos %token <i> PARSEOP_LEQUAL
    206       1.1  christos %token <i> PARSEOP_LGREATER
    207       1.1  christos %token <i> PARSEOP_LGREATEREQUAL
    208       1.1  christos %token <i> PARSEOP_LLESS
    209       1.1  christos %token <i> PARSEOP_LLESSEQUAL
    210       1.1  christos %token <i> PARSEOP_LNOT
    211       1.1  christos %token <i> PARSEOP_LNOTEQUAL
    212       1.1  christos %token <i> PARSEOP_LOAD
    213       1.1  christos %token <i> PARSEOP_LOADTABLE
    214       1.1  christos %token <i> PARSEOP_LOCAL0
    215       1.1  christos %token <i> PARSEOP_LOCAL1
    216       1.1  christos %token <i> PARSEOP_LOCAL2
    217       1.1  christos %token <i> PARSEOP_LOCAL3
    218       1.1  christos %token <i> PARSEOP_LOCAL4
    219       1.1  christos %token <i> PARSEOP_LOCAL5
    220       1.1  christos %token <i> PARSEOP_LOCAL6
    221       1.1  christos %token <i> PARSEOP_LOCAL7
    222       1.1  christos %token <i> PARSEOP_LOCKRULE_LOCK
    223       1.1  christos %token <i> PARSEOP_LOCKRULE_NOLOCK
    224       1.1  christos %token <i> PARSEOP_LOR
    225       1.1  christos %token <i> PARSEOP_MATCH
    226       1.1  christos %token <i> PARSEOP_MATCHTYPE_MEQ
    227       1.1  christos %token <i> PARSEOP_MATCHTYPE_MGE
    228       1.1  christos %token <i> PARSEOP_MATCHTYPE_MGT
    229       1.1  christos %token <i> PARSEOP_MATCHTYPE_MLE
    230       1.1  christos %token <i> PARSEOP_MATCHTYPE_MLT
    231       1.1  christos %token <i> PARSEOP_MATCHTYPE_MTR
    232       1.1  christos %token <i> PARSEOP_MAXTYPE_FIXED
    233       1.1  christos %token <i> PARSEOP_MAXTYPE_NOTFIXED
    234       1.1  christos %token <i> PARSEOP_MEMORY24
    235       1.1  christos %token <i> PARSEOP_MEMORY32
    236       1.1  christos %token <i> PARSEOP_MEMORY32FIXED
    237       1.1  christos %token <i> PARSEOP_MEMTYPE_CACHEABLE
    238       1.1  christos %token <i> PARSEOP_MEMTYPE_NONCACHEABLE
    239       1.1  christos %token <i> PARSEOP_MEMTYPE_PREFETCHABLE
    240       1.1  christos %token <i> PARSEOP_MEMTYPE_WRITECOMBINING
    241       1.1  christos %token <i> PARSEOP_METHOD
    242       1.1  christos %token <i> PARSEOP_METHODCALL
    243       1.1  christos %token <i> PARSEOP_MID
    244       1.1  christos %token <i> PARSEOP_MINTYPE_FIXED
    245       1.1  christos %token <i> PARSEOP_MINTYPE_NOTFIXED
    246       1.1  christos %token <i> PARSEOP_MOD
    247       1.1  christos %token <i> PARSEOP_MULTIPLY
    248       1.1  christos %token <i> PARSEOP_MUTEX
    249       1.1  christos %token <i> PARSEOP_NAME
    250       1.1  christos %token <s> PARSEOP_NAMESEG
    251       1.1  christos %token <s> PARSEOP_NAMESTRING
    252       1.1  christos %token <i> PARSEOP_NAND
    253       1.1  christos %token <i> PARSEOP_NOOP
    254       1.1  christos %token <i> PARSEOP_NOR
    255       1.1  christos %token <i> PARSEOP_NOT
    256       1.1  christos %token <i> PARSEOP_NOTIFY
    257       1.1  christos %token <i> PARSEOP_OBJECTTYPE
    258       1.1  christos %token <i> PARSEOP_OBJECTTYPE_BFF
    259       1.1  christos %token <i> PARSEOP_OBJECTTYPE_BUF
    260       1.1  christos %token <i> PARSEOP_OBJECTTYPE_DDB
    261       1.1  christos %token <i> PARSEOP_OBJECTTYPE_DEV
    262       1.1  christos %token <i> PARSEOP_OBJECTTYPE_EVT
    263       1.1  christos %token <i> PARSEOP_OBJECTTYPE_FLD
    264       1.1  christos %token <i> PARSEOP_OBJECTTYPE_INT
    265       1.1  christos %token <i> PARSEOP_OBJECTTYPE_MTH
    266       1.1  christos %token <i> PARSEOP_OBJECTTYPE_MTX
    267       1.1  christos %token <i> PARSEOP_OBJECTTYPE_OPR
    268       1.1  christos %token <i> PARSEOP_OBJECTTYPE_PKG
    269       1.1  christos %token <i> PARSEOP_OBJECTTYPE_POW
    270       1.1  christos %token <i> PARSEOP_OBJECTTYPE_PRO
    271       1.1  christos %token <i> PARSEOP_OBJECTTYPE_STR
    272       1.1  christos %token <i> PARSEOP_OBJECTTYPE_THZ
    273       1.1  christos %token <i> PARSEOP_OBJECTTYPE_UNK
    274       1.1  christos %token <i> PARSEOP_OFFSET
    275       1.1  christos %token <i> PARSEOP_ONE
    276       1.1  christos %token <i> PARSEOP_ONES
    277       1.1  christos %token <i> PARSEOP_OPERATIONREGION
    278       1.1  christos %token <i> PARSEOP_OR
    279       1.1  christos %token <i> PARSEOP_PACKAGE
    280       1.1  christos %token <i> PARSEOP_PACKAGE_LENGTH
    281       1.1  christos %token <i> PARSEOP_PARITYTYPE_EVEN
    282       1.1  christos %token <i> PARSEOP_PARITYTYPE_MARK
    283       1.1  christos %token <i> PARSEOP_PARITYTYPE_NONE
    284       1.1  christos %token <i> PARSEOP_PARITYTYPE_ODD
    285       1.1  christos %token <i> PARSEOP_PARITYTYPE_SPACE
    286   1.1.1.7  christos %token <i> PARSEOP_PINCONFIG
    287   1.1.1.7  christos %token <i> PARSEOP_PINFUNCTION
    288   1.1.1.7  christos %token <i> PARSEOP_PINGROUP
    289   1.1.1.7  christos %token <i> PARSEOP_PINGROUPCONFIG
    290   1.1.1.7  christos %token <i> PARSEOP_PINGROUPFUNCTION
    291       1.1  christos %token <i> PARSEOP_PIN_NOPULL
    292       1.1  christos %token <i> PARSEOP_PIN_PULLDEFAULT
    293       1.1  christos %token <i> PARSEOP_PIN_PULLDOWN
    294       1.1  christos %token <i> PARSEOP_PIN_PULLUP
    295  1.1.1.15  christos %token <i> PARSEOP_CLOCKINPUT
    296  1.1.1.15  christos %token <i> PARSEOP_CLOCK_HZ
    297  1.1.1.15  christos %token <i> PARSEOP_CLOCK_KHZ
    298  1.1.1.15  christos %token <i> PARSEOP_CLOCK_MHZ
    299  1.1.1.15  christos %token <i> PARSEOP_CLOCK_FIXED
    300  1.1.1.15  christos %token <i> PARSEOP_CLOCK_VARIABLE
    301       1.1  christos %token <i> PARSEOP_POWERRESOURCE
    302       1.1  christos %token <i> PARSEOP_PROCESSOR
    303       1.1  christos %token <i> PARSEOP_QWORDCONST
    304       1.1  christos %token <i> PARSEOP_QWORDIO
    305       1.1  christos %token <i> PARSEOP_QWORDMEMORY
    306  1.1.1.16  christos %token <i> PARSEOP_QWORDPCC
    307       1.1  christos %token <i> PARSEOP_QWORDSPACE
    308       1.1  christos %token <i> PARSEOP_RANGETYPE_ENTIRE
    309       1.1  christos %token <i> PARSEOP_RANGETYPE_ISAONLY
    310       1.1  christos %token <i> PARSEOP_RANGETYPE_NONISAONLY
    311       1.1  christos %token <i> PARSEOP_RAW_DATA
    312       1.1  christos %token <i> PARSEOP_READWRITETYPE_BOTH
    313       1.1  christos %token <i> PARSEOP_READWRITETYPE_READONLY
    314       1.1  christos %token <i> PARSEOP_REFOF
    315       1.1  christos %token <i> PARSEOP_REGIONSPACE_CMOS
    316       1.1  christos %token <i> PARSEOP_REGIONSPACE_EC
    317       1.1  christos %token <i> PARSEOP_REGIONSPACE_FFIXEDHW
    318       1.1  christos %token <i> PARSEOP_REGIONSPACE_GPIO
    319       1.1  christos %token <i> PARSEOP_REGIONSPACE_GSBUS
    320       1.1  christos %token <i> PARSEOP_REGIONSPACE_IO
    321       1.1  christos %token <i> PARSEOP_REGIONSPACE_IPMI
    322       1.1  christos %token <i> PARSEOP_REGIONSPACE_MEM
    323       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCC
    324       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCI
    325       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCIBAR
    326  1.1.1.12  christos %token <i> PARSEOP_REGIONSPACE_PRM
    327       1.1  christos %token <i> PARSEOP_REGIONSPACE_SMBUS
    328       1.1  christos %token <i> PARSEOP_REGISTER
    329       1.1  christos %token <i> PARSEOP_RELEASE
    330       1.1  christos %token <i> PARSEOP_RESERVED_BYTES
    331       1.1  christos %token <i> PARSEOP_RESET
    332       1.1  christos %token <i> PARSEOP_RESOURCETEMPLATE
    333       1.1  christos %token <i> PARSEOP_RESOURCETYPE_CONSUMER
    334       1.1  christos %token <i> PARSEOP_RESOURCETYPE_PRODUCER
    335       1.1  christos %token <i> PARSEOP_RETURN
    336       1.1  christos %token <i> PARSEOP_REVISION
    337       1.1  christos %token <i> PARSEOP_SCOPE
    338       1.1  christos %token <i> PARSEOP_SERIALIZERULE_NOTSERIAL
    339       1.1  christos %token <i> PARSEOP_SERIALIZERULE_SERIAL
    340       1.1  christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVE
    341       1.1  christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVEWAKE
    342       1.1  christos %token <i> PARSEOP_SHARETYPE_SHARED
    343       1.1  christos %token <i> PARSEOP_SHARETYPE_SHAREDWAKE
    344       1.1  christos %token <i> PARSEOP_SHIFTLEFT
    345       1.1  christos %token <i> PARSEOP_SHIFTRIGHT
    346       1.1  christos %token <i> PARSEOP_SIGNAL
    347       1.1  christos %token <i> PARSEOP_SIZEOF
    348       1.1  christos %token <i> PARSEOP_SLAVEMODE_CONTROLLERINIT
    349       1.1  christos %token <i> PARSEOP_SLAVEMODE_DEVICEINIT
    350       1.1  christos %token <i> PARSEOP_SLEEP
    351       1.1  christos %token <i> PARSEOP_SPI_SERIALBUS
    352   1.1.1.4  christos %token <i> PARSEOP_SPI_SERIALBUS_V2
    353       1.1  christos %token <i> PARSEOP_STALL
    354       1.1  christos %token <i> PARSEOP_STARTDEPENDENTFN
    355       1.1  christos %token <i> PARSEOP_STARTDEPENDENTFN_NOPRI
    356       1.1  christos %token <i> PARSEOP_STOPBITS_ONE
    357       1.1  christos %token <i> PARSEOP_STOPBITS_ONEPLUSHALF
    358       1.1  christos %token <i> PARSEOP_STOPBITS_TWO
    359       1.1  christos %token <i> PARSEOP_STOPBITS_ZERO
    360       1.1  christos %token <i> PARSEOP_STORE
    361       1.1  christos %token <s> PARSEOP_STRING_LITERAL
    362       1.1  christos %token <i> PARSEOP_SUBTRACT
    363       1.1  christos %token <i> PARSEOP_SWITCH
    364       1.1  christos %token <i> PARSEOP_THERMALZONE
    365       1.1  christos %token <i> PARSEOP_TIMER
    366       1.1  christos %token <i> PARSEOP_TOBCD
    367       1.1  christos %token <i> PARSEOP_TOBUFFER
    368       1.1  christos %token <i> PARSEOP_TODECIMALSTRING
    369       1.1  christos %token <i> PARSEOP_TOHEXSTRING
    370       1.1  christos %token <i> PARSEOP_TOINTEGER
    371       1.1  christos %token <i> PARSEOP_TOSTRING
    372       1.1  christos %token <i> PARSEOP_TOUUID
    373       1.1  christos %token <i> PARSEOP_TRANSLATIONTYPE_DENSE
    374       1.1  christos %token <i> PARSEOP_TRANSLATIONTYPE_SPARSE
    375       1.1  christos %token <i> PARSEOP_TYPE_STATIC
    376       1.1  christos %token <i> PARSEOP_TYPE_TRANSLATION
    377       1.1  christos %token <i> PARSEOP_UART_SERIALBUS
    378   1.1.1.4  christos %token <i> PARSEOP_UART_SERIALBUS_V2
    379       1.1  christos %token <i> PARSEOP_UNICODE
    380       1.1  christos %token <i> PARSEOP_UNLOAD
    381       1.1  christos %token <i> PARSEOP_UPDATERULE_ONES
    382       1.1  christos %token <i> PARSEOP_UPDATERULE_PRESERVE
    383       1.1  christos %token <i> PARSEOP_UPDATERULE_ZEROS
    384       1.1  christos %token <i> PARSEOP_VAR_PACKAGE
    385       1.1  christos %token <i> PARSEOP_VENDORLONG
    386       1.1  christos %token <i> PARSEOP_VENDORSHORT
    387       1.1  christos %token <i> PARSEOP_WAIT
    388       1.1  christos %token <i> PARSEOP_WHILE
    389       1.1  christos %token <i> PARSEOP_WIREMODE_FOUR
    390       1.1  christos %token <i> PARSEOP_WIREMODE_THREE
    391       1.1  christos %token <i> PARSEOP_WORDBUSNUMBER
    392       1.1  christos %token <i> PARSEOP_WORDCONST
    393       1.1  christos %token <i> PARSEOP_WORDIO
    394  1.1.1.16  christos %token <i> PARSEOP_WORDPCC
    395       1.1  christos %token <i> PARSEOP_WORDSPACE
    396       1.1  christos %token <i> PARSEOP_XFERSIZE_8
    397       1.1  christos %token <i> PARSEOP_XFERSIZE_16
    398       1.1  christos %token <i> PARSEOP_XFERSIZE_32
    399       1.1  christos %token <i> PARSEOP_XFERSIZE_64
    400       1.1  christos %token <i> PARSEOP_XFERSIZE_128
    401       1.1  christos %token <i> PARSEOP_XFERSIZE_256
    402       1.1  christos %token <i> PARSEOP_XFERTYPE_8
    403       1.1  christos %token <i> PARSEOP_XFERTYPE_8_16
    404       1.1  christos %token <i> PARSEOP_XFERTYPE_16
    405       1.1  christos %token <i> PARSEOP_XOR
    406       1.1  christos %token <i> PARSEOP_ZERO
    407       1.1  christos 
    408   1.1.1.2  christos /* ToPld macro */
    409   1.1.1.2  christos 
    410   1.1.1.2  christos %token <i> PARSEOP_TOPLD
    411   1.1.1.2  christos %token <i> PARSEOP_PLD_REVISION
    412   1.1.1.2  christos %token <i> PARSEOP_PLD_IGNORECOLOR
    413   1.1.1.2  christos %token <i> PARSEOP_PLD_RED
    414   1.1.1.2  christos %token <i> PARSEOP_PLD_GREEN
    415   1.1.1.2  christos %token <i> PARSEOP_PLD_BLUE
    416   1.1.1.2  christos %token <i> PARSEOP_PLD_WIDTH
    417   1.1.1.2  christos %token <i> PARSEOP_PLD_HEIGHT
    418   1.1.1.2  christos %token <i> PARSEOP_PLD_USERVISIBLE
    419   1.1.1.2  christos %token <i> PARSEOP_PLD_DOCK
    420   1.1.1.2  christos %token <i> PARSEOP_PLD_LID
    421   1.1.1.2  christos %token <i> PARSEOP_PLD_PANEL
    422   1.1.1.2  christos %token <i> PARSEOP_PLD_VERTICALPOSITION
    423   1.1.1.2  christos %token <i> PARSEOP_PLD_HORIZONTALPOSITION
    424   1.1.1.2  christos %token <i> PARSEOP_PLD_SHAPE
    425   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPORIENTATION
    426   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPTOKEN
    427   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPPOSITION
    428   1.1.1.2  christos %token <i> PARSEOP_PLD_BAY
    429   1.1.1.2  christos %token <i> PARSEOP_PLD_EJECTABLE
    430   1.1.1.2  christos %token <i> PARSEOP_PLD_EJECTREQUIRED
    431   1.1.1.2  christos %token <i> PARSEOP_PLD_CABINETNUMBER
    432   1.1.1.2  christos %token <i> PARSEOP_PLD_CARDCAGENUMBER
    433   1.1.1.2  christos %token <i> PARSEOP_PLD_REFERENCE
    434   1.1.1.2  christos %token <i> PARSEOP_PLD_ROTATION
    435   1.1.1.2  christos %token <i> PARSEOP_PLD_ORDER
    436   1.1.1.2  christos %token <i> PARSEOP_PLD_RESERVED
    437   1.1.1.2  christos %token <i> PARSEOP_PLD_VERTICALOFFSET
    438   1.1.1.2  christos %token <i> PARSEOP_PLD_HORIZONTALOFFSET
    439   1.1.1.2  christos 
    440   1.1.1.2  christos /*
    441   1.1.1.2  christos  * C-style expression parser. These must appear after all of the
    442   1.1.1.2  christos  * standard ASL operators and keywords.
    443   1.1.1.2  christos  *
    444   1.1.1.2  christos  * Note: The order of these tokens implements the precedence rules
    445   1.1.1.2  christos  * (low precedence to high). See aslrules.y for an exhaustive list.
    446   1.1.1.2  christos  */
    447   1.1.1.2  christos %right <i> PARSEOP_EXP_EQUALS
    448   1.1.1.2  christos            PARSEOP_EXP_ADD_EQ
    449   1.1.1.2  christos            PARSEOP_EXP_SUB_EQ
    450   1.1.1.2  christos            PARSEOP_EXP_MUL_EQ
    451   1.1.1.2  christos            PARSEOP_EXP_DIV_EQ
    452   1.1.1.2  christos            PARSEOP_EXP_MOD_EQ
    453   1.1.1.2  christos            PARSEOP_EXP_SHL_EQ
    454   1.1.1.2  christos            PARSEOP_EXP_SHR_EQ
    455   1.1.1.2  christos            PARSEOP_EXP_AND_EQ
    456   1.1.1.2  christos            PARSEOP_EXP_XOR_EQ
    457   1.1.1.2  christos            PARSEOP_EXP_OR_EQ
    458   1.1.1.2  christos 
    459   1.1.1.2  christos %left <i>  PARSEOP_EXP_LOGICAL_OR
    460   1.1.1.2  christos %left <i>  PARSEOP_EXP_LOGICAL_AND
    461   1.1.1.2  christos %left <i>  PARSEOP_EXP_OR
    462   1.1.1.2  christos %left <i>  PARSEOP_EXP_XOR
    463   1.1.1.2  christos %left <i>  PARSEOP_EXP_AND
    464   1.1.1.2  christos %left <i>  PARSEOP_EXP_EQUAL
    465   1.1.1.2  christos            PARSEOP_EXP_NOT_EQUAL
    466   1.1.1.2  christos %left <i>  PARSEOP_EXP_GREATER
    467   1.1.1.2  christos            PARSEOP_EXP_LESS
    468   1.1.1.2  christos            PARSEOP_EXP_GREATER_EQUAL
    469   1.1.1.2  christos            PARSEOP_EXP_LESS_EQUAL
    470   1.1.1.2  christos %left <i>  PARSEOP_EXP_SHIFT_RIGHT
    471   1.1.1.2  christos            PARSEOP_EXP_SHIFT_LEFT
    472   1.1.1.2  christos %left <i>  PARSEOP_EXP_ADD
    473   1.1.1.2  christos            PARSEOP_EXP_SUBTRACT
    474   1.1.1.2  christos %left <i>  PARSEOP_EXP_MULTIPLY
    475   1.1.1.2  christos            PARSEOP_EXP_DIVIDE
    476   1.1.1.2  christos            PARSEOP_EXP_MODULO
    477   1.1.1.2  christos 
    478   1.1.1.2  christos %right <i> PARSEOP_EXP_NOT
    479   1.1.1.2  christos            PARSEOP_EXP_LOGICAL_NOT
    480   1.1.1.2  christos 
    481   1.1.1.2  christos %left <i>  PARSEOP_EXP_INCREMENT
    482   1.1.1.2  christos            PARSEOP_EXP_DECREMENT
    483   1.1.1.2  christos 
    484   1.1.1.6  christos %left <i>  PARSEOP_OPEN_PAREN
    485   1.1.1.6  christos            PARSEOP_CLOSE_PAREN
    486   1.1.1.6  christos 
    487   1.1.1.3  christos /* Brackets for Index() support */
    488   1.1.1.3  christos 
    489   1.1.1.3  christos %left <i>  PARSEOP_EXP_INDEX_LEFT
    490   1.1.1.3  christos %right <i> PARSEOP_EXP_INDEX_RIGHT
    491   1.1.1.3  christos 
    492   1.1.1.4  christos /* Macros */
    493   1.1.1.4  christos 
    494   1.1.1.2  christos %token <i> PARSEOP_PRINTF
    495   1.1.1.2  christos %token <i> PARSEOP_FPRINTF
    496   1.1.1.4  christos %token <i> PARSEOP_FOR
    497   1.1.1.3  christos 
    498   1.1.1.5  christos /* Structures */
    499   1.1.1.5  christos 
    500   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE
    501   1.1.1.5  christos %token <s> PARSEOP_STRUCTURE_NAMESTRING
    502   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_TAG
    503   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_ELEMENT
    504   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_INSTANCE
    505   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_REFERENCE
    506   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_POINTER
    507   1.1.1.5  christos 
    508   1.1.1.5  christos /* Top level */
    509   1.1.1.5  christos 
    510   1.1.1.5  christos %token <i> PARSEOP_ASL_CODE
    511   1.1.1.5  christos 
    512   1.1.1.5  christos 
    513   1.1.1.5  christos /*******************************************************************************
    514   1.1.1.5  christos  *
    515   1.1.1.5  christos  * Tokens below are not in the aslmap.c file
    516   1.1.1.5  christos  *
    517   1.1.1.5  christos  ******************************************************************************/
    518   1.1.1.5  christos 
    519   1.1.1.5  christos 
    520   1.1.1.5  christos /* Tokens below this are not in the aslmap.c file */
    521   1.1.1.5  christos 
    522   1.1.1.2  christos /* Specific parentheses tokens are not used at this time */
    523   1.1.1.2  christos            /* PARSEOP_EXP_PAREN_OPEN */
    524   1.1.1.2  christos            /* PARSEOP_EXP_PAREN_CLOSE */
    525   1.1.1.2  christos 
    526   1.1.1.5  christos /* ASL+ variable creation */
    527   1.1.1.5  christos 
    528   1.1.1.5  christos %token <i> PARSEOP_INTEGER_TYPE
    529   1.1.1.5  christos %token <i> PARSEOP_STRING_TYPE
    530   1.1.1.5  christos %token <i> PARSEOP_BUFFER_TYPE
    531   1.1.1.5  christos %token <i> PARSEOP_PACKAGE_TYPE
    532   1.1.1.5  christos %token <i> PARSEOP_REFERENCE_TYPE
    533   1.1.1.3  christos 
    534   1.1.1.3  christos 
    535       1.1  christos /*
    536       1.1  christos  * Special functions. These should probably stay at the end of this
    537       1.1  christos  * table.
    538       1.1  christos  */
    539       1.1  christos %token <i> PARSEOP___DATE__
    540       1.1  christos %token <i> PARSEOP___FILE__
    541       1.1  christos %token <i> PARSEOP___LINE__
    542       1.1  christos %token <i> PARSEOP___PATH__
    543   1.1.1.7  christos %token <i> PARSEOP___METHOD__
    544