asltokens.y revision 1.1.1.3 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.3 christos * Copyright (C) 2000 - 2016, 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 christos %token <i> PARSEOP_ACCESSAS
57 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_BLOCK
58 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
59 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_BYTE
60 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_MULTIBYTE
61 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_QUICK
62 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
63 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
64 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_SND_RCV
65 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_WORD
66 1.1 christos %token <i> PARSEOP_ACCESSATTRIB_WORD_CALL
67 1.1 christos %token <i> PARSEOP_ACCESSTYPE_ANY
68 1.1 christos %token <i> PARSEOP_ACCESSTYPE_BUF
69 1.1 christos %token <i> PARSEOP_ACCESSTYPE_BYTE
70 1.1 christos %token <i> PARSEOP_ACCESSTYPE_DWORD
71 1.1 christos %token <i> PARSEOP_ACCESSTYPE_QWORD
72 1.1 christos %token <i> PARSEOP_ACCESSTYPE_WORD
73 1.1 christos %token <i> PARSEOP_ACQUIRE
74 1.1 christos %token <i> PARSEOP_ADD
75 1.1 christos %token <i> PARSEOP_ADDRESSINGMODE_7BIT
76 1.1 christos %token <i> PARSEOP_ADDRESSINGMODE_10BIT
77 1.1 christos %token <i> PARSEOP_ADDRESSTYPE_ACPI
78 1.1 christos %token <i> PARSEOP_ADDRESSTYPE_MEMORY
79 1.1 christos %token <i> PARSEOP_ADDRESSTYPE_NVS
80 1.1 christos %token <i> PARSEOP_ADDRESSTYPE_RESERVED
81 1.1 christos %token <i> PARSEOP_ALIAS
82 1.1 christos %token <i> PARSEOP_AND
83 1.1 christos %token <i> PARSEOP_ARG0
84 1.1 christos %token <i> PARSEOP_ARG1
85 1.1 christos %token <i> PARSEOP_ARG2
86 1.1 christos %token <i> PARSEOP_ARG3
87 1.1 christos %token <i> PARSEOP_ARG4
88 1.1 christos %token <i> PARSEOP_ARG5
89 1.1 christos %token <i> PARSEOP_ARG6
90 1.1 christos %token <i> PARSEOP_BANKFIELD
91 1.1 christos %token <i> PARSEOP_BITSPERBYTE_EIGHT
92 1.1 christos %token <i> PARSEOP_BITSPERBYTE_FIVE
93 1.1 christos %token <i> PARSEOP_BITSPERBYTE_NINE
94 1.1 christos %token <i> PARSEOP_BITSPERBYTE_SEVEN
95 1.1 christos %token <i> PARSEOP_BITSPERBYTE_SIX
96 1.1 christos %token <i> PARSEOP_BREAK
97 1.1 christos %token <i> PARSEOP_BREAKPOINT
98 1.1 christos %token <i> PARSEOP_BUFFER
99 1.1 christos %token <i> PARSEOP_BUSMASTERTYPE_MASTER
100 1.1 christos %token <i> PARSEOP_BUSMASTERTYPE_NOTMASTER
101 1.1 christos %token <i> PARSEOP_BYTECONST
102 1.1 christos %token <i> PARSEOP_CASE
103 1.1 christos %token <i> PARSEOP_CLOCKPHASE_FIRST
104 1.1 christos %token <i> PARSEOP_CLOCKPHASE_SECOND
105 1.1 christos %token <i> PARSEOP_CLOCKPOLARITY_HIGH
106 1.1 christos %token <i> PARSEOP_CLOCKPOLARITY_LOW
107 1.1 christos %token <i> PARSEOP_CONCATENATE
108 1.1 christos %token <i> PARSEOP_CONCATENATERESTEMPLATE
109 1.1 christos %token <i> PARSEOP_CONDREFOF
110 1.1 christos %token <i> PARSEOP_CONNECTION
111 1.1 christos %token <i> PARSEOP_CONTINUE
112 1.1 christos %token <i> PARSEOP_COPYOBJECT
113 1.1 christos %token <i> PARSEOP_CREATEBITFIELD
114 1.1 christos %token <i> PARSEOP_CREATEBYTEFIELD
115 1.1 christos %token <i> PARSEOP_CREATEDWORDFIELD
116 1.1 christos %token <i> PARSEOP_CREATEFIELD
117 1.1 christos %token <i> PARSEOP_CREATEQWORDFIELD
118 1.1 christos %token <i> PARSEOP_CREATEWORDFIELD
119 1.1 christos %token <i> PARSEOP_DATABUFFER
120 1.1 christos %token <i> PARSEOP_DATATABLEREGION
121 1.1 christos %token <i> PARSEOP_DEBUG
122 1.1 christos %token <i> PARSEOP_DECODETYPE_POS
123 1.1 christos %token <i> PARSEOP_DECODETYPE_SUB
124 1.1 christos %token <i> PARSEOP_DECREMENT
125 1.1 christos %token <i> PARSEOP_DEFAULT
126 1.1 christos %token <i> PARSEOP_DEFAULT_ARG
127 1.1.1.3 christos %token <i> PARSEOP_DEFINITION_BLOCK
128 1.1 christos %token <i> PARSEOP_DEREFOF
129 1.1 christos %token <i> PARSEOP_DEVICE
130 1.1 christos %token <i> PARSEOP_DEVICEPOLARITY_HIGH
131 1.1 christos %token <i> PARSEOP_DEVICEPOLARITY_LOW
132 1.1 christos %token <i> PARSEOP_DIVIDE
133 1.1 christos %token <i> PARSEOP_DMA
134 1.1 christos %token <i> PARSEOP_DMATYPE_A
135 1.1 christos %token <i> PARSEOP_DMATYPE_COMPATIBILITY
136 1.1 christos %token <i> PARSEOP_DMATYPE_B
137 1.1 christos %token <i> PARSEOP_DMATYPE_F
138 1.1 christos %token <i> PARSEOP_DWORDCONST
139 1.1 christos %token <i> PARSEOP_DWORDIO
140 1.1 christos %token <i> PARSEOP_DWORDMEMORY
141 1.1 christos %token <i> PARSEOP_DWORDSPACE
142 1.1 christos %token <i> PARSEOP_EISAID
143 1.1 christos %token <i> PARSEOP_ELSE
144 1.1 christos %token <i> PARSEOP_ELSEIF
145 1.1 christos %token <i> PARSEOP_ENDDEPENDENTFN
146 1.1 christos %token <i> PARSEOP_ENDIAN_BIG
147 1.1 christos %token <i> PARSEOP_ENDIAN_LITTLE
148 1.1 christos %token <i> PARSEOP_ENDTAG
149 1.1 christos %token <i> PARSEOP_ERRORNODE
150 1.1 christos %token <i> PARSEOP_EVENT
151 1.1 christos %token <i> PARSEOP_EXTENDEDIO
152 1.1 christos %token <i> PARSEOP_EXTENDEDMEMORY
153 1.1 christos %token <i> PARSEOP_EXTENDEDSPACE
154 1.1 christos %token <i> PARSEOP_EXTERNAL
155 1.1 christos %token <i> PARSEOP_FATAL
156 1.1 christos %token <i> PARSEOP_FIELD
157 1.1 christos %token <i> PARSEOP_FINDSETLEFTBIT
158 1.1 christos %token <i> PARSEOP_FINDSETRIGHTBIT
159 1.1 christos %token <i> PARSEOP_FIXEDDMA
160 1.1 christos %token <i> PARSEOP_FIXEDIO
161 1.1 christos %token <i> PARSEOP_FLOWCONTROL_HW
162 1.1 christos %token <i> PARSEOP_FLOWCONTROL_NONE
163 1.1 christos %token <i> PARSEOP_FLOWCONTROL_SW
164 1.1 christos %token <i> PARSEOP_FROMBCD
165 1.1 christos %token <i> PARSEOP_FUNCTION
166 1.1 christos %token <i> PARSEOP_GPIO_INT
167 1.1 christos %token <i> PARSEOP_GPIO_IO
168 1.1 christos %token <i> PARSEOP_I2C_SERIALBUS
169 1.1 christos %token <i> PARSEOP_IF
170 1.1 christos %token <i> PARSEOP_INCLUDE
171 1.1 christos %token <i> PARSEOP_INCLUDE_END
172 1.1 christos %token <i> PARSEOP_INCREMENT
173 1.1 christos %token <i> PARSEOP_INDEX
174 1.1 christos %token <i> PARSEOP_INDEXFIELD
175 1.1 christos %token <i> PARSEOP_INTEGER
176 1.1 christos %token <i> PARSEOP_INTERRUPT
177 1.1 christos %token <i> PARSEOP_INTLEVEL_ACTIVEBOTH
178 1.1 christos %token <i> PARSEOP_INTLEVEL_ACTIVEHIGH
179 1.1 christos %token <i> PARSEOP_INTLEVEL_ACTIVELOW
180 1.1 christos %token <i> PARSEOP_INTTYPE_EDGE
181 1.1 christos %token <i> PARSEOP_INTTYPE_LEVEL
182 1.1 christos %token <i> PARSEOP_IO
183 1.1 christos %token <i> PARSEOP_IODECODETYPE_10
184 1.1 christos %token <i> PARSEOP_IODECODETYPE_16
185 1.1 christos %token <i> PARSEOP_IORESTRICT_IN
186 1.1 christos %token <i> PARSEOP_IORESTRICT_NONE
187 1.1 christos %token <i> PARSEOP_IORESTRICT_OUT
188 1.1 christos %token <i> PARSEOP_IORESTRICT_PRESERVE
189 1.1 christos %token <i> PARSEOP_IRQ
190 1.1 christos %token <i> PARSEOP_IRQNOFLAGS
191 1.1 christos %token <i> PARSEOP_LAND
192 1.1 christos %token <i> PARSEOP_LEQUAL
193 1.1 christos %token <i> PARSEOP_LGREATER
194 1.1 christos %token <i> PARSEOP_LGREATEREQUAL
195 1.1 christos %token <i> PARSEOP_LLESS
196 1.1 christos %token <i> PARSEOP_LLESSEQUAL
197 1.1 christos %token <i> PARSEOP_LNOT
198 1.1 christos %token <i> PARSEOP_LNOTEQUAL
199 1.1 christos %token <i> PARSEOP_LOAD
200 1.1 christos %token <i> PARSEOP_LOADTABLE
201 1.1 christos %token <i> PARSEOP_LOCAL0
202 1.1 christos %token <i> PARSEOP_LOCAL1
203 1.1 christos %token <i> PARSEOP_LOCAL2
204 1.1 christos %token <i> PARSEOP_LOCAL3
205 1.1 christos %token <i> PARSEOP_LOCAL4
206 1.1 christos %token <i> PARSEOP_LOCAL5
207 1.1 christos %token <i> PARSEOP_LOCAL6
208 1.1 christos %token <i> PARSEOP_LOCAL7
209 1.1 christos %token <i> PARSEOP_LOCKRULE_LOCK
210 1.1 christos %token <i> PARSEOP_LOCKRULE_NOLOCK
211 1.1 christos %token <i> PARSEOP_LOR
212 1.1 christos %token <i> PARSEOP_MATCH
213 1.1 christos %token <i> PARSEOP_MATCHTYPE_MEQ
214 1.1 christos %token <i> PARSEOP_MATCHTYPE_MGE
215 1.1 christos %token <i> PARSEOP_MATCHTYPE_MGT
216 1.1 christos %token <i> PARSEOP_MATCHTYPE_MLE
217 1.1 christos %token <i> PARSEOP_MATCHTYPE_MLT
218 1.1 christos %token <i> PARSEOP_MATCHTYPE_MTR
219 1.1 christos %token <i> PARSEOP_MAXTYPE_FIXED
220 1.1 christos %token <i> PARSEOP_MAXTYPE_NOTFIXED
221 1.1 christos %token <i> PARSEOP_MEMORY24
222 1.1 christos %token <i> PARSEOP_MEMORY32
223 1.1 christos %token <i> PARSEOP_MEMORY32FIXED
224 1.1 christos %token <i> PARSEOP_MEMTYPE_CACHEABLE
225 1.1 christos %token <i> PARSEOP_MEMTYPE_NONCACHEABLE
226 1.1 christos %token <i> PARSEOP_MEMTYPE_PREFETCHABLE
227 1.1 christos %token <i> PARSEOP_MEMTYPE_WRITECOMBINING
228 1.1 christos %token <i> PARSEOP_METHOD
229 1.1 christos %token <i> PARSEOP_METHODCALL
230 1.1 christos %token <i> PARSEOP_MID
231 1.1 christos %token <i> PARSEOP_MINTYPE_FIXED
232 1.1 christos %token <i> PARSEOP_MINTYPE_NOTFIXED
233 1.1 christos %token <i> PARSEOP_MOD
234 1.1 christos %token <i> PARSEOP_MULTIPLY
235 1.1 christos %token <i> PARSEOP_MUTEX
236 1.1 christos %token <i> PARSEOP_NAME
237 1.1 christos %token <s> PARSEOP_NAMESEG
238 1.1 christos %token <s> PARSEOP_NAMESTRING
239 1.1 christos %token <i> PARSEOP_NAND
240 1.1 christos %token <i> PARSEOP_NOOP
241 1.1 christos %token <i> PARSEOP_NOR
242 1.1 christos %token <i> PARSEOP_NOT
243 1.1 christos %token <i> PARSEOP_NOTIFY
244 1.1 christos %token <i> PARSEOP_OBJECTTYPE
245 1.1 christos %token <i> PARSEOP_OBJECTTYPE_BFF
246 1.1 christos %token <i> PARSEOP_OBJECTTYPE_BUF
247 1.1 christos %token <i> PARSEOP_OBJECTTYPE_DDB
248 1.1 christos %token <i> PARSEOP_OBJECTTYPE_DEV
249 1.1 christos %token <i> PARSEOP_OBJECTTYPE_EVT
250 1.1 christos %token <i> PARSEOP_OBJECTTYPE_FLD
251 1.1 christos %token <i> PARSEOP_OBJECTTYPE_INT
252 1.1 christos %token <i> PARSEOP_OBJECTTYPE_MTH
253 1.1 christos %token <i> PARSEOP_OBJECTTYPE_MTX
254 1.1 christos %token <i> PARSEOP_OBJECTTYPE_OPR
255 1.1 christos %token <i> PARSEOP_OBJECTTYPE_PKG
256 1.1 christos %token <i> PARSEOP_OBJECTTYPE_POW
257 1.1 christos %token <i> PARSEOP_OBJECTTYPE_PRO
258 1.1 christos %token <i> PARSEOP_OBJECTTYPE_STR
259 1.1 christos %token <i> PARSEOP_OBJECTTYPE_THZ
260 1.1 christos %token <i> PARSEOP_OBJECTTYPE_UNK
261 1.1 christos %token <i> PARSEOP_OFFSET
262 1.1 christos %token <i> PARSEOP_ONE
263 1.1 christos %token <i> PARSEOP_ONES
264 1.1 christos %token <i> PARSEOP_OPERATIONREGION
265 1.1 christos %token <i> PARSEOP_OR
266 1.1 christos %token <i> PARSEOP_PACKAGE
267 1.1 christos %token <i> PARSEOP_PACKAGE_LENGTH
268 1.1 christos %token <i> PARSEOP_PARITYTYPE_EVEN
269 1.1 christos %token <i> PARSEOP_PARITYTYPE_MARK
270 1.1 christos %token <i> PARSEOP_PARITYTYPE_NONE
271 1.1 christos %token <i> PARSEOP_PARITYTYPE_ODD
272 1.1 christos %token <i> PARSEOP_PARITYTYPE_SPACE
273 1.1 christos %token <i> PARSEOP_PIN_NOPULL
274 1.1 christos %token <i> PARSEOP_PIN_PULLDEFAULT
275 1.1 christos %token <i> PARSEOP_PIN_PULLDOWN
276 1.1 christos %token <i> PARSEOP_PIN_PULLUP
277 1.1 christos %token <i> PARSEOP_POWERRESOURCE
278 1.1 christos %token <i> PARSEOP_PROCESSOR
279 1.1 christos %token <i> PARSEOP_QWORDCONST
280 1.1 christos %token <i> PARSEOP_QWORDIO
281 1.1 christos %token <i> PARSEOP_QWORDMEMORY
282 1.1 christos %token <i> PARSEOP_QWORDSPACE
283 1.1 christos %token <i> PARSEOP_RANGETYPE_ENTIRE
284 1.1 christos %token <i> PARSEOP_RANGETYPE_ISAONLY
285 1.1 christos %token <i> PARSEOP_RANGETYPE_NONISAONLY
286 1.1 christos %token <i> PARSEOP_RAW_DATA
287 1.1 christos %token <i> PARSEOP_READWRITETYPE_BOTH
288 1.1 christos %token <i> PARSEOP_READWRITETYPE_READONLY
289 1.1 christos %token <i> PARSEOP_REFOF
290 1.1 christos %token <i> PARSEOP_REGIONSPACE_CMOS
291 1.1 christos %token <i> PARSEOP_REGIONSPACE_EC
292 1.1 christos %token <i> PARSEOP_REGIONSPACE_FFIXEDHW
293 1.1 christos %token <i> PARSEOP_REGIONSPACE_GPIO
294 1.1 christos %token <i> PARSEOP_REGIONSPACE_GSBUS
295 1.1 christos %token <i> PARSEOP_REGIONSPACE_IO
296 1.1 christos %token <i> PARSEOP_REGIONSPACE_IPMI
297 1.1 christos %token <i> PARSEOP_REGIONSPACE_MEM
298 1.1 christos %token <i> PARSEOP_REGIONSPACE_PCC
299 1.1 christos %token <i> PARSEOP_REGIONSPACE_PCI
300 1.1 christos %token <i> PARSEOP_REGIONSPACE_PCIBAR
301 1.1 christos %token <i> PARSEOP_REGIONSPACE_SMBUS
302 1.1 christos %token <i> PARSEOP_REGISTER
303 1.1 christos %token <i> PARSEOP_RELEASE
304 1.1 christos %token <i> PARSEOP_RESERVED_BYTES
305 1.1 christos %token <i> PARSEOP_RESET
306 1.1 christos %token <i> PARSEOP_RESOURCETEMPLATE
307 1.1 christos %token <i> PARSEOP_RESOURCETYPE_CONSUMER
308 1.1 christos %token <i> PARSEOP_RESOURCETYPE_PRODUCER
309 1.1 christos %token <i> PARSEOP_RETURN
310 1.1 christos %token <i> PARSEOP_REVISION
311 1.1 christos %token <i> PARSEOP_SCOPE
312 1.1 christos %token <i> PARSEOP_SERIALIZERULE_NOTSERIAL
313 1.1 christos %token <i> PARSEOP_SERIALIZERULE_SERIAL
314 1.1 christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVE
315 1.1 christos %token <i> PARSEOP_SHARETYPE_EXCLUSIVEWAKE
316 1.1 christos %token <i> PARSEOP_SHARETYPE_SHARED
317 1.1 christos %token <i> PARSEOP_SHARETYPE_SHAREDWAKE
318 1.1 christos %token <i> PARSEOP_SHIFTLEFT
319 1.1 christos %token <i> PARSEOP_SHIFTRIGHT
320 1.1 christos %token <i> PARSEOP_SIGNAL
321 1.1 christos %token <i> PARSEOP_SIZEOF
322 1.1 christos %token <i> PARSEOP_SLAVEMODE_CONTROLLERINIT
323 1.1 christos %token <i> PARSEOP_SLAVEMODE_DEVICEINIT
324 1.1 christos %token <i> PARSEOP_SLEEP
325 1.1 christos %token <i> PARSEOP_SPI_SERIALBUS
326 1.1 christos %token <i> PARSEOP_STALL
327 1.1 christos %token <i> PARSEOP_STARTDEPENDENTFN
328 1.1 christos %token <i> PARSEOP_STARTDEPENDENTFN_NOPRI
329 1.1 christos %token <i> PARSEOP_STOPBITS_ONE
330 1.1 christos %token <i> PARSEOP_STOPBITS_ONEPLUSHALF
331 1.1 christos %token <i> PARSEOP_STOPBITS_TWO
332 1.1 christos %token <i> PARSEOP_STOPBITS_ZERO
333 1.1 christos %token <i> PARSEOP_STORE
334 1.1 christos %token <s> PARSEOP_STRING_LITERAL
335 1.1 christos %token <i> PARSEOP_SUBTRACT
336 1.1 christos %token <i> PARSEOP_SWITCH
337 1.1 christos %token <i> PARSEOP_THERMALZONE
338 1.1 christos %token <i> PARSEOP_TIMER
339 1.1 christos %token <i> PARSEOP_TOBCD
340 1.1 christos %token <i> PARSEOP_TOBUFFER
341 1.1 christos %token <i> PARSEOP_TODECIMALSTRING
342 1.1 christos %token <i> PARSEOP_TOHEXSTRING
343 1.1 christos %token <i> PARSEOP_TOINTEGER
344 1.1 christos %token <i> PARSEOP_TOSTRING
345 1.1 christos %token <i> PARSEOP_TOUUID
346 1.1 christos %token <i> PARSEOP_TRANSLATIONTYPE_DENSE
347 1.1 christos %token <i> PARSEOP_TRANSLATIONTYPE_SPARSE
348 1.1 christos %token <i> PARSEOP_TYPE_STATIC
349 1.1 christos %token <i> PARSEOP_TYPE_TRANSLATION
350 1.1 christos %token <i> PARSEOP_UART_SERIALBUS
351 1.1 christos %token <i> PARSEOP_UNICODE
352 1.1 christos %token <i> PARSEOP_UNLOAD
353 1.1 christos %token <i> PARSEOP_UPDATERULE_ONES
354 1.1 christos %token <i> PARSEOP_UPDATERULE_PRESERVE
355 1.1 christos %token <i> PARSEOP_UPDATERULE_ZEROS
356 1.1 christos %token <i> PARSEOP_VAR_PACKAGE
357 1.1 christos %token <i> PARSEOP_VENDORLONG
358 1.1 christos %token <i> PARSEOP_VENDORSHORT
359 1.1 christos %token <i> PARSEOP_WAIT
360 1.1 christos %token <i> PARSEOP_WHILE
361 1.1 christos %token <i> PARSEOP_WIREMODE_FOUR
362 1.1 christos %token <i> PARSEOP_WIREMODE_THREE
363 1.1 christos %token <i> PARSEOP_WORDBUSNUMBER
364 1.1 christos %token <i> PARSEOP_WORDCONST
365 1.1 christos %token <i> PARSEOP_WORDIO
366 1.1 christos %token <i> PARSEOP_WORDSPACE
367 1.1 christos %token <i> PARSEOP_XFERSIZE_8
368 1.1 christos %token <i> PARSEOP_XFERSIZE_16
369 1.1 christos %token <i> PARSEOP_XFERSIZE_32
370 1.1 christos %token <i> PARSEOP_XFERSIZE_64
371 1.1 christos %token <i> PARSEOP_XFERSIZE_128
372 1.1 christos %token <i> PARSEOP_XFERSIZE_256
373 1.1 christos %token <i> PARSEOP_XFERTYPE_8
374 1.1 christos %token <i> PARSEOP_XFERTYPE_8_16
375 1.1 christos %token <i> PARSEOP_XFERTYPE_16
376 1.1 christos %token <i> PARSEOP_XOR
377 1.1 christos %token <i> PARSEOP_ZERO
378 1.1 christos
379 1.1.1.2 christos /* ToPld macro */
380 1.1.1.2 christos
381 1.1.1.2 christos %token <i> PARSEOP_TOPLD
382 1.1.1.2 christos %token <i> PARSEOP_PLD_REVISION
383 1.1.1.2 christos %token <i> PARSEOP_PLD_IGNORECOLOR
384 1.1.1.2 christos %token <i> PARSEOP_PLD_RED
385 1.1.1.2 christos %token <i> PARSEOP_PLD_GREEN
386 1.1.1.2 christos %token <i> PARSEOP_PLD_BLUE
387 1.1.1.2 christos %token <i> PARSEOP_PLD_WIDTH
388 1.1.1.2 christos %token <i> PARSEOP_PLD_HEIGHT
389 1.1.1.2 christos %token <i> PARSEOP_PLD_USERVISIBLE
390 1.1.1.2 christos %token <i> PARSEOP_PLD_DOCK
391 1.1.1.2 christos %token <i> PARSEOP_PLD_LID
392 1.1.1.2 christos %token <i> PARSEOP_PLD_PANEL
393 1.1.1.2 christos %token <i> PARSEOP_PLD_VERTICALPOSITION
394 1.1.1.2 christos %token <i> PARSEOP_PLD_HORIZONTALPOSITION
395 1.1.1.2 christos %token <i> PARSEOP_PLD_SHAPE
396 1.1.1.2 christos %token <i> PARSEOP_PLD_GROUPORIENTATION
397 1.1.1.2 christos %token <i> PARSEOP_PLD_GROUPTOKEN
398 1.1.1.2 christos %token <i> PARSEOP_PLD_GROUPPOSITION
399 1.1.1.2 christos %token <i> PARSEOP_PLD_BAY
400 1.1.1.2 christos %token <i> PARSEOP_PLD_EJECTABLE
401 1.1.1.2 christos %token <i> PARSEOP_PLD_EJECTREQUIRED
402 1.1.1.2 christos %token <i> PARSEOP_PLD_CABINETNUMBER
403 1.1.1.2 christos %token <i> PARSEOP_PLD_CARDCAGENUMBER
404 1.1.1.2 christos %token <i> PARSEOP_PLD_REFERENCE
405 1.1.1.2 christos %token <i> PARSEOP_PLD_ROTATION
406 1.1.1.2 christos %token <i> PARSEOP_PLD_ORDER
407 1.1.1.2 christos %token <i> PARSEOP_PLD_RESERVED
408 1.1.1.2 christos %token <i> PARSEOP_PLD_VERTICALOFFSET
409 1.1.1.2 christos %token <i> PARSEOP_PLD_HORIZONTALOFFSET
410 1.1.1.2 christos
411 1.1.1.2 christos /*
412 1.1.1.2 christos * C-style expression parser. These must appear after all of the
413 1.1.1.2 christos * standard ASL operators and keywords.
414 1.1.1.2 christos *
415 1.1.1.2 christos * Note: The order of these tokens implements the precedence rules
416 1.1.1.2 christos * (low precedence to high). See aslrules.y for an exhaustive list.
417 1.1.1.2 christos */
418 1.1.1.2 christos %right <i> PARSEOP_EXP_EQUALS
419 1.1.1.2 christos PARSEOP_EXP_ADD_EQ
420 1.1.1.2 christos PARSEOP_EXP_SUB_EQ
421 1.1.1.2 christos PARSEOP_EXP_MUL_EQ
422 1.1.1.2 christos PARSEOP_EXP_DIV_EQ
423 1.1.1.2 christos PARSEOP_EXP_MOD_EQ
424 1.1.1.2 christos PARSEOP_EXP_SHL_EQ
425 1.1.1.2 christos PARSEOP_EXP_SHR_EQ
426 1.1.1.2 christos PARSEOP_EXP_AND_EQ
427 1.1.1.2 christos PARSEOP_EXP_XOR_EQ
428 1.1.1.2 christos PARSEOP_EXP_OR_EQ
429 1.1.1.2 christos
430 1.1.1.2 christos %left <i> PARSEOP_EXP_LOGICAL_OR
431 1.1.1.2 christos %left <i> PARSEOP_EXP_LOGICAL_AND
432 1.1.1.2 christos %left <i> PARSEOP_EXP_OR
433 1.1.1.2 christos %left <i> PARSEOP_EXP_XOR
434 1.1.1.2 christos %left <i> PARSEOP_EXP_AND
435 1.1.1.2 christos %left <i> PARSEOP_EXP_EQUAL
436 1.1.1.2 christos PARSEOP_EXP_NOT_EQUAL
437 1.1.1.2 christos %left <i> PARSEOP_EXP_GREATER
438 1.1.1.2 christos PARSEOP_EXP_LESS
439 1.1.1.2 christos PARSEOP_EXP_GREATER_EQUAL
440 1.1.1.2 christos PARSEOP_EXP_LESS_EQUAL
441 1.1.1.2 christos %left <i> PARSEOP_EXP_SHIFT_RIGHT
442 1.1.1.2 christos PARSEOP_EXP_SHIFT_LEFT
443 1.1.1.2 christos %left <i> PARSEOP_EXP_ADD
444 1.1.1.2 christos PARSEOP_EXP_SUBTRACT
445 1.1.1.2 christos %left <i> PARSEOP_EXP_MULTIPLY
446 1.1.1.2 christos PARSEOP_EXP_DIVIDE
447 1.1.1.2 christos PARSEOP_EXP_MODULO
448 1.1.1.2 christos
449 1.1.1.2 christos %right <i> PARSEOP_EXP_NOT
450 1.1.1.2 christos PARSEOP_EXP_LOGICAL_NOT
451 1.1.1.2 christos
452 1.1.1.2 christos %left <i> PARSEOP_EXP_INCREMENT
453 1.1.1.2 christos PARSEOP_EXP_DECREMENT
454 1.1.1.2 christos
455 1.1.1.3 christos /* Brackets for Index() support */
456 1.1.1.3 christos
457 1.1.1.3 christos %left <i> PARSEOP_EXP_INDEX_LEFT
458 1.1.1.3 christos %right <i> PARSEOP_EXP_INDEX_RIGHT
459 1.1.1.3 christos
460 1.1.1.2 christos %token <i> PARSEOP_PRINTF
461 1.1.1.2 christos %token <i> PARSEOP_FPRINTF
462 1.1.1.3 christos
463 1.1.1.2 christos /* Specific parentheses tokens are not used at this time */
464 1.1.1.2 christos /* PARSEOP_EXP_PAREN_OPEN */
465 1.1.1.2 christos /* PARSEOP_EXP_PAREN_CLOSE */
466 1.1.1.2 christos
467 1.1.1.3 christos
468 1.1.1.3 christos %token <i> PARSEOP_ASL_CODE
469 1.1.1.3 christos
470 1.1 christos /*
471 1.1 christos * Special functions. These should probably stay at the end of this
472 1.1 christos * table.
473 1.1 christos */
474 1.1 christos %token <i> PARSEOP___DATE__
475 1.1 christos %token <i> PARSEOP___FILE__
476 1.1 christos %token <i> PARSEOP___LINE__
477 1.1 christos %token <i> PARSEOP___PATH__
478