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