Home | History | Annotate | Line # | Download | only in compiler
asltokens.y revision 1.1.1.12
      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.11  christos  * Copyright (C) 2000 - 2020, 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  christos  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY 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  christos %token <i> PARSEOP_DWORDSPACE
    152       1.1  christos %token <i> PARSEOP_EISAID
    153       1.1  christos %token <i> PARSEOP_ELSE
    154       1.1  christos %token <i> PARSEOP_ELSEIF
    155       1.1  christos %token <i> PARSEOP_ENDDEPENDENTFN
    156       1.1  christos %token <i> PARSEOP_ENDIAN_BIG
    157       1.1  christos %token <i> PARSEOP_ENDIAN_LITTLE
    158       1.1  christos %token <i> PARSEOP_ENDTAG
    159       1.1  christos %token <i> PARSEOP_ERRORNODE
    160       1.1  christos %token <i> PARSEOP_EVENT
    161       1.1  christos %token <i> PARSEOP_EXTENDEDIO
    162       1.1  christos %token <i> PARSEOP_EXTENDEDMEMORY
    163       1.1  christos %token <i> PARSEOP_EXTENDEDSPACE
    164       1.1  christos %token <i> PARSEOP_EXTERNAL
    165       1.1  christos %token <i> PARSEOP_FATAL
    166       1.1  christos %token <i> PARSEOP_FIELD
    167       1.1  christos %token <i> PARSEOP_FINDSETLEFTBIT
    168       1.1  christos %token <i> PARSEOP_FINDSETRIGHTBIT
    169       1.1  christos %token <i> PARSEOP_FIXEDDMA
    170       1.1  christos %token <i> PARSEOP_FIXEDIO
    171       1.1  christos %token <i> PARSEOP_FLOWCONTROL_HW
    172       1.1  christos %token <i> PARSEOP_FLOWCONTROL_NONE
    173       1.1  christos %token <i> PARSEOP_FLOWCONTROL_SW
    174       1.1  christos %token <i> PARSEOP_FROMBCD
    175       1.1  christos %token <i> PARSEOP_FUNCTION
    176       1.1  christos %token <i> PARSEOP_GPIO_INT
    177       1.1  christos %token <i> PARSEOP_GPIO_IO
    178       1.1  christos %token <i> PARSEOP_I2C_SERIALBUS
    179   1.1.1.4  christos %token <i> PARSEOP_I2C_SERIALBUS_V2
    180       1.1  christos %token <i> PARSEOP_IF
    181       1.1  christos %token <i> PARSEOP_INCLUDE
    182       1.1  christos %token <i> PARSEOP_INCLUDE_END
    183       1.1  christos %token <i> PARSEOP_INCREMENT
    184       1.1  christos %token <i> PARSEOP_INDEX
    185       1.1  christos %token <i> PARSEOP_INDEXFIELD
    186       1.1  christos %token <i> PARSEOP_INTEGER
    187       1.1  christos %token <i> PARSEOP_INTERRUPT
    188       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVEBOTH
    189       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVEHIGH
    190       1.1  christos %token <i> PARSEOP_INTLEVEL_ACTIVELOW
    191       1.1  christos %token <i> PARSEOP_INTTYPE_EDGE
    192       1.1  christos %token <i> PARSEOP_INTTYPE_LEVEL
    193       1.1  christos %token <i> PARSEOP_IO
    194       1.1  christos %token <i> PARSEOP_IODECODETYPE_10
    195       1.1  christos %token <i> PARSEOP_IODECODETYPE_16
    196       1.1  christos %token <i> PARSEOP_IORESTRICT_IN
    197       1.1  christos %token <i> PARSEOP_IORESTRICT_NONE
    198       1.1  christos %token <i> PARSEOP_IORESTRICT_OUT
    199       1.1  christos %token <i> PARSEOP_IORESTRICT_PRESERVE
    200       1.1  christos %token <i> PARSEOP_IRQ
    201       1.1  christos %token <i> PARSEOP_IRQNOFLAGS
    202       1.1  christos %token <i> PARSEOP_LAND
    203       1.1  christos %token <i> PARSEOP_LEQUAL
    204       1.1  christos %token <i> PARSEOP_LGREATER
    205       1.1  christos %token <i> PARSEOP_LGREATEREQUAL
    206       1.1  christos %token <i> PARSEOP_LLESS
    207       1.1  christos %token <i> PARSEOP_LLESSEQUAL
    208       1.1  christos %token <i> PARSEOP_LNOT
    209       1.1  christos %token <i> PARSEOP_LNOTEQUAL
    210       1.1  christos %token <i> PARSEOP_LOAD
    211       1.1  christos %token <i> PARSEOP_LOADTABLE
    212       1.1  christos %token <i> PARSEOP_LOCAL0
    213       1.1  christos %token <i> PARSEOP_LOCAL1
    214       1.1  christos %token <i> PARSEOP_LOCAL2
    215       1.1  christos %token <i> PARSEOP_LOCAL3
    216       1.1  christos %token <i> PARSEOP_LOCAL4
    217       1.1  christos %token <i> PARSEOP_LOCAL5
    218       1.1  christos %token <i> PARSEOP_LOCAL6
    219       1.1  christos %token <i> PARSEOP_LOCAL7
    220       1.1  christos %token <i> PARSEOP_LOCKRULE_LOCK
    221       1.1  christos %token <i> PARSEOP_LOCKRULE_NOLOCK
    222       1.1  christos %token <i> PARSEOP_LOR
    223       1.1  christos %token <i> PARSEOP_MATCH
    224       1.1  christos %token <i> PARSEOP_MATCHTYPE_MEQ
    225       1.1  christos %token <i> PARSEOP_MATCHTYPE_MGE
    226       1.1  christos %token <i> PARSEOP_MATCHTYPE_MGT
    227       1.1  christos %token <i> PARSEOP_MATCHTYPE_MLE
    228       1.1  christos %token <i> PARSEOP_MATCHTYPE_MLT
    229       1.1  christos %token <i> PARSEOP_MATCHTYPE_MTR
    230       1.1  christos %token <i> PARSEOP_MAXTYPE_FIXED
    231       1.1  christos %token <i> PARSEOP_MAXTYPE_NOTFIXED
    232       1.1  christos %token <i> PARSEOP_MEMORY24
    233       1.1  christos %token <i> PARSEOP_MEMORY32
    234       1.1  christos %token <i> PARSEOP_MEMORY32FIXED
    235       1.1  christos %token <i> PARSEOP_MEMTYPE_CACHEABLE
    236       1.1  christos %token <i> PARSEOP_MEMTYPE_NONCACHEABLE
    237       1.1  christos %token <i> PARSEOP_MEMTYPE_PREFETCHABLE
    238       1.1  christos %token <i> PARSEOP_MEMTYPE_WRITECOMBINING
    239       1.1  christos %token <i> PARSEOP_METHOD
    240       1.1  christos %token <i> PARSEOP_METHODCALL
    241       1.1  christos %token <i> PARSEOP_MID
    242       1.1  christos %token <i> PARSEOP_MINTYPE_FIXED
    243       1.1  christos %token <i> PARSEOP_MINTYPE_NOTFIXED
    244       1.1  christos %token <i> PARSEOP_MOD
    245       1.1  christos %token <i> PARSEOP_MULTIPLY
    246       1.1  christos %token <i> PARSEOP_MUTEX
    247       1.1  christos %token <i> PARSEOP_NAME
    248       1.1  christos %token <s> PARSEOP_NAMESEG
    249       1.1  christos %token <s> PARSEOP_NAMESTRING
    250       1.1  christos %token <i> PARSEOP_NAND
    251       1.1  christos %token <i> PARSEOP_NOOP
    252       1.1  christos %token <i> PARSEOP_NOR
    253       1.1  christos %token <i> PARSEOP_NOT
    254       1.1  christos %token <i> PARSEOP_NOTIFY
    255       1.1  christos %token <i> PARSEOP_OBJECTTYPE
    256       1.1  christos %token <i> PARSEOP_OBJECTTYPE_BFF
    257       1.1  christos %token <i> PARSEOP_OBJECTTYPE_BUF
    258       1.1  christos %token <i> PARSEOP_OBJECTTYPE_DDB
    259       1.1  christos %token <i> PARSEOP_OBJECTTYPE_DEV
    260       1.1  christos %token <i> PARSEOP_OBJECTTYPE_EVT
    261       1.1  christos %token <i> PARSEOP_OBJECTTYPE_FLD
    262       1.1  christos %token <i> PARSEOP_OBJECTTYPE_INT
    263       1.1  christos %token <i> PARSEOP_OBJECTTYPE_MTH
    264       1.1  christos %token <i> PARSEOP_OBJECTTYPE_MTX
    265       1.1  christos %token <i> PARSEOP_OBJECTTYPE_OPR
    266       1.1  christos %token <i> PARSEOP_OBJECTTYPE_PKG
    267       1.1  christos %token <i> PARSEOP_OBJECTTYPE_POW
    268       1.1  christos %token <i> PARSEOP_OBJECTTYPE_PRO
    269       1.1  christos %token <i> PARSEOP_OBJECTTYPE_STR
    270       1.1  christos %token <i> PARSEOP_OBJECTTYPE_THZ
    271       1.1  christos %token <i> PARSEOP_OBJECTTYPE_UNK
    272       1.1  christos %token <i> PARSEOP_OFFSET
    273       1.1  christos %token <i> PARSEOP_ONE
    274       1.1  christos %token <i> PARSEOP_ONES
    275       1.1  christos %token <i> PARSEOP_OPERATIONREGION
    276       1.1  christos %token <i> PARSEOP_OR
    277       1.1  christos %token <i> PARSEOP_PACKAGE
    278       1.1  christos %token <i> PARSEOP_PACKAGE_LENGTH
    279       1.1  christos %token <i> PARSEOP_PARITYTYPE_EVEN
    280       1.1  christos %token <i> PARSEOP_PARITYTYPE_MARK
    281       1.1  christos %token <i> PARSEOP_PARITYTYPE_NONE
    282       1.1  christos %token <i> PARSEOP_PARITYTYPE_ODD
    283       1.1  christos %token <i> PARSEOP_PARITYTYPE_SPACE
    284   1.1.1.7  christos %token <i> PARSEOP_PINCONFIG
    285   1.1.1.7  christos %token <i> PARSEOP_PINFUNCTION
    286   1.1.1.7  christos %token <i> PARSEOP_PINGROUP
    287   1.1.1.7  christos %token <i> PARSEOP_PINGROUPCONFIG
    288   1.1.1.7  christos %token <i> PARSEOP_PINGROUPFUNCTION
    289       1.1  christos %token <i> PARSEOP_PIN_NOPULL
    290       1.1  christos %token <i> PARSEOP_PIN_PULLDEFAULT
    291       1.1  christos %token <i> PARSEOP_PIN_PULLDOWN
    292       1.1  christos %token <i> PARSEOP_PIN_PULLUP
    293       1.1  christos %token <i> PARSEOP_POWERRESOURCE
    294       1.1  christos %token <i> PARSEOP_PROCESSOR
    295       1.1  christos %token <i> PARSEOP_QWORDCONST
    296       1.1  christos %token <i> PARSEOP_QWORDIO
    297       1.1  christos %token <i> PARSEOP_QWORDMEMORY
    298       1.1  christos %token <i> PARSEOP_QWORDSPACE
    299       1.1  christos %token <i> PARSEOP_RANGETYPE_ENTIRE
    300       1.1  christos %token <i> PARSEOP_RANGETYPE_ISAONLY
    301       1.1  christos %token <i> PARSEOP_RANGETYPE_NONISAONLY
    302       1.1  christos %token <i> PARSEOP_RAW_DATA
    303       1.1  christos %token <i> PARSEOP_READWRITETYPE_BOTH
    304       1.1  christos %token <i> PARSEOP_READWRITETYPE_READONLY
    305       1.1  christos %token <i> PARSEOP_REFOF
    306       1.1  christos %token <i> PARSEOP_REGIONSPACE_CMOS
    307       1.1  christos %token <i> PARSEOP_REGIONSPACE_EC
    308       1.1  christos %token <i> PARSEOP_REGIONSPACE_FFIXEDHW
    309       1.1  christos %token <i> PARSEOP_REGIONSPACE_GPIO
    310       1.1  christos %token <i> PARSEOP_REGIONSPACE_GSBUS
    311       1.1  christos %token <i> PARSEOP_REGIONSPACE_IO
    312       1.1  christos %token <i> PARSEOP_REGIONSPACE_IPMI
    313       1.1  christos %token <i> PARSEOP_REGIONSPACE_MEM
    314       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCC
    315       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCI
    316       1.1  christos %token <i> PARSEOP_REGIONSPACE_PCIBAR
    317  1.1.1.12  christos %token <i> PARSEOP_REGIONSPACE_PRM
    318       1.1  christos %token <i> PARSEOP_REGIONSPACE_SMBUS
    319       1.1  christos %token <i> PARSEOP_REGISTER
    320       1.1  christos %token <i> PARSEOP_RELEASE
    321       1.1  christos %token <i> PARSEOP_RESERVED_BYTES
    322       1.1  christos %token <i> PARSEOP_RESET
    323       1.1  christos %token <i> PARSEOP_RESOURCETEMPLATE
    324       1.1  christos %token <i> PARSEOP_RESOURCETYPE_CONSUMER
    325       1.1  christos %token <i> PARSEOP_RESOURCETYPE_PRODUCER
    326       1.1  christos %token <i> PARSEOP_RETURN
    327       1.1  christos %token <i> PARSEOP_REVISION
    328       1.1  christos %token <i> PARSEOP_SCOPE
    329       1.1  christos %token <i> PARSEOP_SERIALIZERULE_NOTSERIAL
    330       1.1  christos %token <i> PARSEOP_SERIALIZERULE_SERIAL
    331       1.1  christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVE
    332       1.1  christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVEWAKE
    333       1.1  christos %token <i> PARSEOP_SHARETYPE_SHARED
    334       1.1  christos %token <i> PARSEOP_SHARETYPE_SHAREDWAKE
    335       1.1  christos %token <i> PARSEOP_SHIFTLEFT
    336       1.1  christos %token <i> PARSEOP_SHIFTRIGHT
    337       1.1  christos %token <i> PARSEOP_SIGNAL
    338       1.1  christos %token <i> PARSEOP_SIZEOF
    339       1.1  christos %token <i> PARSEOP_SLAVEMODE_CONTROLLERINIT
    340       1.1  christos %token <i> PARSEOP_SLAVEMODE_DEVICEINIT
    341       1.1  christos %token <i> PARSEOP_SLEEP
    342       1.1  christos %token <i> PARSEOP_SPI_SERIALBUS
    343   1.1.1.4  christos %token <i> PARSEOP_SPI_SERIALBUS_V2
    344       1.1  christos %token <i> PARSEOP_STALL
    345       1.1  christos %token <i> PARSEOP_STARTDEPENDENTFN
    346       1.1  christos %token <i> PARSEOP_STARTDEPENDENTFN_NOPRI
    347       1.1  christos %token <i> PARSEOP_STOPBITS_ONE
    348       1.1  christos %token <i> PARSEOP_STOPBITS_ONEPLUSHALF
    349       1.1  christos %token <i> PARSEOP_STOPBITS_TWO
    350       1.1  christos %token <i> PARSEOP_STOPBITS_ZERO
    351       1.1  christos %token <i> PARSEOP_STORE
    352       1.1  christos %token <s> PARSEOP_STRING_LITERAL
    353       1.1  christos %token <i> PARSEOP_SUBTRACT
    354       1.1  christos %token <i> PARSEOP_SWITCH
    355       1.1  christos %token <i> PARSEOP_THERMALZONE
    356       1.1  christos %token <i> PARSEOP_TIMER
    357       1.1  christos %token <i> PARSEOP_TOBCD
    358       1.1  christos %token <i> PARSEOP_TOBUFFER
    359       1.1  christos %token <i> PARSEOP_TODECIMALSTRING
    360       1.1  christos %token <i> PARSEOP_TOHEXSTRING
    361       1.1  christos %token <i> PARSEOP_TOINTEGER
    362       1.1  christos %token <i> PARSEOP_TOSTRING
    363       1.1  christos %token <i> PARSEOP_TOUUID
    364       1.1  christos %token <i> PARSEOP_TRANSLATIONTYPE_DENSE
    365       1.1  christos %token <i> PARSEOP_TRANSLATIONTYPE_SPARSE
    366       1.1  christos %token <i> PARSEOP_TYPE_STATIC
    367       1.1  christos %token <i> PARSEOP_TYPE_TRANSLATION
    368       1.1  christos %token <i> PARSEOP_UART_SERIALBUS
    369   1.1.1.4  christos %token <i> PARSEOP_UART_SERIALBUS_V2
    370       1.1  christos %token <i> PARSEOP_UNICODE
    371       1.1  christos %token <i> PARSEOP_UNLOAD
    372       1.1  christos %token <i> PARSEOP_UPDATERULE_ONES
    373       1.1  christos %token <i> PARSEOP_UPDATERULE_PRESERVE
    374       1.1  christos %token <i> PARSEOP_UPDATERULE_ZEROS
    375       1.1  christos %token <i> PARSEOP_VAR_PACKAGE
    376       1.1  christos %token <i> PARSEOP_VENDORLONG
    377       1.1  christos %token <i> PARSEOP_VENDORSHORT
    378       1.1  christos %token <i> PARSEOP_WAIT
    379       1.1  christos %token <i> PARSEOP_WHILE
    380       1.1  christos %token <i> PARSEOP_WIREMODE_FOUR
    381       1.1  christos %token <i> PARSEOP_WIREMODE_THREE
    382       1.1  christos %token <i> PARSEOP_WORDBUSNUMBER
    383       1.1  christos %token <i> PARSEOP_WORDCONST
    384       1.1  christos %token <i> PARSEOP_WORDIO
    385       1.1  christos %token <i> PARSEOP_WORDSPACE
    386       1.1  christos %token <i> PARSEOP_XFERSIZE_8
    387       1.1  christos %token <i> PARSEOP_XFERSIZE_16
    388       1.1  christos %token <i> PARSEOP_XFERSIZE_32
    389       1.1  christos %token <i> PARSEOP_XFERSIZE_64
    390       1.1  christos %token <i> PARSEOP_XFERSIZE_128
    391       1.1  christos %token <i> PARSEOP_XFERSIZE_256
    392       1.1  christos %token <i> PARSEOP_XFERTYPE_8
    393       1.1  christos %token <i> PARSEOP_XFERTYPE_8_16
    394       1.1  christos %token <i> PARSEOP_XFERTYPE_16
    395       1.1  christos %token <i> PARSEOP_XOR
    396       1.1  christos %token <i> PARSEOP_ZERO
    397       1.1  christos 
    398   1.1.1.2  christos /* ToPld macro */
    399   1.1.1.2  christos 
    400   1.1.1.2  christos %token <i> PARSEOP_TOPLD
    401   1.1.1.2  christos %token <i> PARSEOP_PLD_REVISION
    402   1.1.1.2  christos %token <i> PARSEOP_PLD_IGNORECOLOR
    403   1.1.1.2  christos %token <i> PARSEOP_PLD_RED
    404   1.1.1.2  christos %token <i> PARSEOP_PLD_GREEN
    405   1.1.1.2  christos %token <i> PARSEOP_PLD_BLUE
    406   1.1.1.2  christos %token <i> PARSEOP_PLD_WIDTH
    407   1.1.1.2  christos %token <i> PARSEOP_PLD_HEIGHT
    408   1.1.1.2  christos %token <i> PARSEOP_PLD_USERVISIBLE
    409   1.1.1.2  christos %token <i> PARSEOP_PLD_DOCK
    410   1.1.1.2  christos %token <i> PARSEOP_PLD_LID
    411   1.1.1.2  christos %token <i> PARSEOP_PLD_PANEL
    412   1.1.1.2  christos %token <i> PARSEOP_PLD_VERTICALPOSITION
    413   1.1.1.2  christos %token <i> PARSEOP_PLD_HORIZONTALPOSITION
    414   1.1.1.2  christos %token <i> PARSEOP_PLD_SHAPE
    415   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPORIENTATION
    416   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPTOKEN
    417   1.1.1.2  christos %token <i> PARSEOP_PLD_GROUPPOSITION
    418   1.1.1.2  christos %token <i> PARSEOP_PLD_BAY
    419   1.1.1.2  christos %token <i> PARSEOP_PLD_EJECTABLE
    420   1.1.1.2  christos %token <i> PARSEOP_PLD_EJECTREQUIRED
    421   1.1.1.2  christos %token <i> PARSEOP_PLD_CABINETNUMBER
    422   1.1.1.2  christos %token <i> PARSEOP_PLD_CARDCAGENUMBER
    423   1.1.1.2  christos %token <i> PARSEOP_PLD_REFERENCE
    424   1.1.1.2  christos %token <i> PARSEOP_PLD_ROTATION
    425   1.1.1.2  christos %token <i> PARSEOP_PLD_ORDER
    426   1.1.1.2  christos %token <i> PARSEOP_PLD_RESERVED
    427   1.1.1.2  christos %token <i> PARSEOP_PLD_VERTICALOFFSET
    428   1.1.1.2  christos %token <i> PARSEOP_PLD_HORIZONTALOFFSET
    429   1.1.1.2  christos 
    430   1.1.1.2  christos /*
    431   1.1.1.2  christos  * C-style expression parser. These must appear after all of the
    432   1.1.1.2  christos  * standard ASL operators and keywords.
    433   1.1.1.2  christos  *
    434   1.1.1.2  christos  * Note: The order of these tokens implements the precedence rules
    435   1.1.1.2  christos  * (low precedence to high). See aslrules.y for an exhaustive list.
    436   1.1.1.2  christos  */
    437   1.1.1.2  christos %right <i> PARSEOP_EXP_EQUALS
    438   1.1.1.2  christos            PARSEOP_EXP_ADD_EQ
    439   1.1.1.2  christos            PARSEOP_EXP_SUB_EQ
    440   1.1.1.2  christos            PARSEOP_EXP_MUL_EQ
    441   1.1.1.2  christos            PARSEOP_EXP_DIV_EQ
    442   1.1.1.2  christos            PARSEOP_EXP_MOD_EQ
    443   1.1.1.2  christos            PARSEOP_EXP_SHL_EQ
    444   1.1.1.2  christos            PARSEOP_EXP_SHR_EQ
    445   1.1.1.2  christos            PARSEOP_EXP_AND_EQ
    446   1.1.1.2  christos            PARSEOP_EXP_XOR_EQ
    447   1.1.1.2  christos            PARSEOP_EXP_OR_EQ
    448   1.1.1.2  christos 
    449   1.1.1.2  christos %left <i>  PARSEOP_EXP_LOGICAL_OR
    450   1.1.1.2  christos %left <i>  PARSEOP_EXP_LOGICAL_AND
    451   1.1.1.2  christos %left <i>  PARSEOP_EXP_OR
    452   1.1.1.2  christos %left <i>  PARSEOP_EXP_XOR
    453   1.1.1.2  christos %left <i>  PARSEOP_EXP_AND
    454   1.1.1.2  christos %left <i>  PARSEOP_EXP_EQUAL
    455   1.1.1.2  christos            PARSEOP_EXP_NOT_EQUAL
    456   1.1.1.2  christos %left <i>  PARSEOP_EXP_GREATER
    457   1.1.1.2  christos            PARSEOP_EXP_LESS
    458   1.1.1.2  christos            PARSEOP_EXP_GREATER_EQUAL
    459   1.1.1.2  christos            PARSEOP_EXP_LESS_EQUAL
    460   1.1.1.2  christos %left <i>  PARSEOP_EXP_SHIFT_RIGHT
    461   1.1.1.2  christos            PARSEOP_EXP_SHIFT_LEFT
    462   1.1.1.2  christos %left <i>  PARSEOP_EXP_ADD
    463   1.1.1.2  christos            PARSEOP_EXP_SUBTRACT
    464   1.1.1.2  christos %left <i>  PARSEOP_EXP_MULTIPLY
    465   1.1.1.2  christos            PARSEOP_EXP_DIVIDE
    466   1.1.1.2  christos            PARSEOP_EXP_MODULO
    467   1.1.1.2  christos 
    468   1.1.1.2  christos %right <i> PARSEOP_EXP_NOT
    469   1.1.1.2  christos            PARSEOP_EXP_LOGICAL_NOT
    470   1.1.1.2  christos 
    471   1.1.1.2  christos %left <i>  PARSEOP_EXP_INCREMENT
    472   1.1.1.2  christos            PARSEOP_EXP_DECREMENT
    473   1.1.1.2  christos 
    474   1.1.1.6  christos %left <i>  PARSEOP_OPEN_PAREN
    475   1.1.1.6  christos            PARSEOP_CLOSE_PAREN
    476   1.1.1.6  christos 
    477   1.1.1.3  christos /* Brackets for Index() support */
    478   1.1.1.3  christos 
    479   1.1.1.3  christos %left <i>  PARSEOP_EXP_INDEX_LEFT
    480   1.1.1.3  christos %right <i> PARSEOP_EXP_INDEX_RIGHT
    481   1.1.1.3  christos 
    482   1.1.1.4  christos /* Macros */
    483   1.1.1.4  christos 
    484   1.1.1.2  christos %token <i> PARSEOP_PRINTF
    485   1.1.1.2  christos %token <i> PARSEOP_FPRINTF
    486   1.1.1.4  christos %token <i> PARSEOP_FOR
    487   1.1.1.3  christos 
    488   1.1.1.5  christos /* Structures */
    489   1.1.1.5  christos 
    490   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE
    491   1.1.1.5  christos %token <s> PARSEOP_STRUCTURE_NAMESTRING
    492   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_TAG
    493   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_ELEMENT
    494   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_INSTANCE
    495   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_REFERENCE
    496   1.1.1.5  christos %token <i> PARSEOP_STRUCTURE_POINTER
    497   1.1.1.5  christos 
    498   1.1.1.5  christos /* Top level */
    499   1.1.1.5  christos 
    500   1.1.1.5  christos %token <i> PARSEOP_ASL_CODE
    501   1.1.1.5  christos 
    502   1.1.1.5  christos 
    503   1.1.1.5  christos /*******************************************************************************
    504   1.1.1.5  christos  *
    505   1.1.1.5  christos  * Tokens below are not in the aslmap.c file
    506   1.1.1.5  christos  *
    507   1.1.1.5  christos  ******************************************************************************/
    508   1.1.1.5  christos 
    509   1.1.1.5  christos 
    510   1.1.1.5  christos /* Tokens below this are not in the aslmap.c file */
    511   1.1.1.5  christos 
    512   1.1.1.2  christos /* Specific parentheses tokens are not used at this time */
    513   1.1.1.2  christos            /* PARSEOP_EXP_PAREN_OPEN */
    514   1.1.1.2  christos            /* PARSEOP_EXP_PAREN_CLOSE */
    515   1.1.1.2  christos 
    516   1.1.1.5  christos /* ASL+ variable creation */
    517   1.1.1.5  christos 
    518   1.1.1.5  christos %token <i> PARSEOP_INTEGER_TYPE
    519   1.1.1.5  christos %token <i> PARSEOP_STRING_TYPE
    520   1.1.1.5  christos %token <i> PARSEOP_BUFFER_TYPE
    521   1.1.1.5  christos %token <i> PARSEOP_PACKAGE_TYPE
    522   1.1.1.5  christos %token <i> PARSEOP_REFERENCE_TYPE
    523   1.1.1.3  christos 
    524   1.1.1.3  christos 
    525       1.1  christos /*
    526       1.1  christos  * Special functions. These should probably stay at the end of this
    527       1.1  christos  * table.
    528       1.1  christos  */
    529       1.1  christos %token <i> PARSEOP___DATE__
    530       1.1  christos %token <i> PARSEOP___FILE__
    531       1.1  christos %token <i> PARSEOP___LINE__
    532       1.1  christos %token <i> PARSEOP___PATH__
    533   1.1.1.7  christos %token <i> PARSEOP___METHOD__
    534