1 NoEcho(' 2 /****************************************************************************** 3 * 4 * Module Name: asltokens.y - Bison/Yacc token types 5 * 6 *****************************************************************************/ 7 8 /* 9 * Copyright (C) 2000 - 2014, Intel Corp. 10 * All rights reserved. 11 * 12 * Redistribution and use in source and binary forms, with or without 13 * modification, are permitted provided that the following conditions 14 * are met: 15 * 1. Redistributions of source code must retain the above copyright 16 * notice, this list of conditions, and the following disclaimer, 17 * without modification. 18 * 2. Redistributions in binary form must reproduce at minimum a disclaimer 19 * substantially similar to the "NO WARRANTY" disclaimer below 20 * ("Disclaimer") and any redistribution must be conditioned upon 21 * including a substantially similar Disclaimer requirement for further 22 * binary redistribution. 23 * 3. Neither the names of the above-listed copyright holders nor the names 24 * of any contributors may be used to endorse or promote products derived 25 * from this software without specific prior written permission. 26 * 27 * Alternatively, this software may be distributed under the terms of the 28 * GNU General Public License ("GPL") version 2 as published by the Free 29 * Software Foundation. 30 * 31 * NO WARRANTY 32 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 33 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 34 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 35 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 36 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 37 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 38 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 40 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 41 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 42 * POSSIBILITY OF SUCH DAMAGES. 43 */ 44 45 ') 46 47 /****************************************************************************** 48 * 49 * Token types: These are returned by the lexer 50 * 51 * NOTE: This list MUST match the AslKeywordMapping table found 52 * in aslmap.c EXACTLY! Double check any changes! 53 * 54 *****************************************************************************/ 55 56 %token <i> PARSEOP_ACCESSAS 57 %token <i> PARSEOP_ACCESSATTRIB_BLOCK 58 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL 59 %token <i> PARSEOP_ACCESSATTRIB_BYTE 60 %token <i> PARSEOP_ACCESSATTRIB_MULTIBYTE 61 %token <i> PARSEOP_ACCESSATTRIB_QUICK 62 %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES 63 %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS 64 %token <i> PARSEOP_ACCESSATTRIB_SND_RCV 65 %token <i> PARSEOP_ACCESSATTRIB_WORD 66 %token <i> PARSEOP_ACCESSATTRIB_WORD_CALL 67 %token <i> PARSEOP_ACCESSTYPE_ANY 68 %token <i> PARSEOP_ACCESSTYPE_BUF 69 %token <i> PARSEOP_ACCESSTYPE_BYTE 70 %token <i> PARSEOP_ACCESSTYPE_DWORD 71 %token <i> PARSEOP_ACCESSTYPE_QWORD 72 %token <i> PARSEOP_ACCESSTYPE_WORD 73 %token <i> PARSEOP_ACQUIRE 74 %token <i> PARSEOP_ADD 75 %token <i> PARSEOP_ADDRESSINGMODE_7BIT 76 %token <i> PARSEOP_ADDRESSINGMODE_10BIT 77 %token <i> PARSEOP_ADDRESSTYPE_ACPI 78 %token <i> PARSEOP_ADDRESSTYPE_MEMORY 79 %token <i> PARSEOP_ADDRESSTYPE_NVS 80 %token <i> PARSEOP_ADDRESSTYPE_RESERVED 81 %token <i> PARSEOP_ALIAS 82 %token <i> PARSEOP_AND 83 %token <i> PARSEOP_ARG0 84 %token <i> PARSEOP_ARG1 85 %token <i> PARSEOP_ARG2 86 %token <i> PARSEOP_ARG3 87 %token <i> PARSEOP_ARG4 88 %token <i> PARSEOP_ARG5 89 %token <i> PARSEOP_ARG6 90 %token <i> PARSEOP_BANKFIELD 91 %token <i> PARSEOP_BITSPERBYTE_EIGHT 92 %token <i> PARSEOP_BITSPERBYTE_FIVE 93 %token <i> PARSEOP_BITSPERBYTE_NINE 94 %token <i> PARSEOP_BITSPERBYTE_SEVEN 95 %token <i> PARSEOP_BITSPERBYTE_SIX 96 %token <i> PARSEOP_BREAK 97 %token <i> PARSEOP_BREAKPOINT 98 %token <i> PARSEOP_BUFFER 99 %token <i> PARSEOP_BUSMASTERTYPE_MASTER 100 %token <i> PARSEOP_BUSMASTERTYPE_NOTMASTER 101 %token <i> PARSEOP_BYTECONST 102 %token <i> PARSEOP_CASE 103 %token <i> PARSEOP_CLOCKPHASE_FIRST 104 %token <i> PARSEOP_CLOCKPHASE_SECOND 105 %token <i> PARSEOP_CLOCKPOLARITY_HIGH 106 %token <i> PARSEOP_CLOCKPOLARITY_LOW 107 %token <i> PARSEOP_CONCATENATE 108 %token <i> PARSEOP_CONCATENATERESTEMPLATE 109 %token <i> PARSEOP_CONDREFOF 110 %token <i> PARSEOP_CONNECTION 111 %token <i> PARSEOP_CONTINUE 112 %token <i> PARSEOP_COPYOBJECT 113 %token <i> PARSEOP_CREATEBITFIELD 114 %token <i> PARSEOP_CREATEBYTEFIELD 115 %token <i> PARSEOP_CREATEDWORDFIELD 116 %token <i> PARSEOP_CREATEFIELD 117 %token <i> PARSEOP_CREATEQWORDFIELD 118 %token <i> PARSEOP_CREATEWORDFIELD 119 %token <i> PARSEOP_DATABUFFER 120 %token <i> PARSEOP_DATATABLEREGION 121 %token <i> PARSEOP_DEBUG 122 %token <i> PARSEOP_DECODETYPE_POS 123 %token <i> PARSEOP_DECODETYPE_SUB 124 %token <i> PARSEOP_DECREMENT 125 %token <i> PARSEOP_DEFAULT 126 %token <i> PARSEOP_DEFAULT_ARG 127 %token <i> PARSEOP_DEFINITIONBLOCK 128 %token <i> PARSEOP_DEREFOF 129 %token <i> PARSEOP_DEVICE 130 %token <i> PARSEOP_DEVICEPOLARITY_HIGH 131 %token <i> PARSEOP_DEVICEPOLARITY_LOW 132 %token <i> PARSEOP_DIVIDE 133 %token <i> PARSEOP_DMA 134 %token <i> PARSEOP_DMATYPE_A 135 %token <i> PARSEOP_DMATYPE_COMPATIBILITY 136 %token <i> PARSEOP_DMATYPE_B 137 %token <i> PARSEOP_DMATYPE_F 138 %token <i> PARSEOP_DWORDCONST 139 %token <i> PARSEOP_DWORDIO 140 %token <i> PARSEOP_DWORDMEMORY 141 %token <i> PARSEOP_DWORDSPACE 142 %token <i> PARSEOP_EISAID 143 %token <i> PARSEOP_ELSE 144 %token <i> PARSEOP_ELSEIF 145 %token <i> PARSEOP_ENDDEPENDENTFN 146 %token <i> PARSEOP_ENDIAN_BIG 147 %token <i> PARSEOP_ENDIAN_LITTLE 148 %token <i> PARSEOP_ENDTAG 149 %token <i> PARSEOP_ERRORNODE 150 %token <i> PARSEOP_EVENT 151 %token <i> PARSEOP_EXTENDEDIO 152 %token <i> PARSEOP_EXTENDEDMEMORY 153 %token <i> PARSEOP_EXTENDEDSPACE 154 %token <i> PARSEOP_EXTERNAL 155 %token <i> PARSEOP_FATAL 156 %token <i> PARSEOP_FIELD 157 %token <i> PARSEOP_FINDSETLEFTBIT 158 %token <i> PARSEOP_FINDSETRIGHTBIT 159 %token <i> PARSEOP_FIXEDDMA 160 %token <i> PARSEOP_FIXEDIO 161 %token <i> PARSEOP_FLOWCONTROL_HW 162 %token <i> PARSEOP_FLOWCONTROL_NONE 163 %token <i> PARSEOP_FLOWCONTROL_SW 164 %token <i> PARSEOP_FROMBCD 165 %token <i> PARSEOP_FUNCTION 166 %token <i> PARSEOP_GPIO_INT 167 %token <i> PARSEOP_GPIO_IO 168 %token <i> PARSEOP_I2C_SERIALBUS 169 %token <i> PARSEOP_IF 170 %token <i> PARSEOP_INCLUDE 171 %token <i> PARSEOP_INCLUDE_END 172 %token <i> PARSEOP_INCREMENT 173 %token <i> PARSEOP_INDEX 174 %token <i> PARSEOP_INDEXFIELD 175 %token <i> PARSEOP_INTEGER 176 %token <i> PARSEOP_INTERRUPT 177 %token <i> PARSEOP_INTLEVEL_ACTIVEBOTH 178 %token <i> PARSEOP_INTLEVEL_ACTIVEHIGH 179 %token <i> PARSEOP_INTLEVEL_ACTIVELOW 180 %token <i> PARSEOP_INTTYPE_EDGE 181 %token <i> PARSEOP_INTTYPE_LEVEL 182 %token <i> PARSEOP_IO 183 %token <i> PARSEOP_IODECODETYPE_10 184 %token <i> PARSEOP_IODECODETYPE_16 185 %token <i> PARSEOP_IORESTRICT_IN 186 %token <i> PARSEOP_IORESTRICT_NONE 187 %token <i> PARSEOP_IORESTRICT_OUT 188 %token <i> PARSEOP_IORESTRICT_PRESERVE 189 %token <i> PARSEOP_IRQ 190 %token <i> PARSEOP_IRQNOFLAGS 191 %token <i> PARSEOP_LAND 192 %token <i> PARSEOP_LEQUAL 193 %token <i> PARSEOP_LGREATER 194 %token <i> PARSEOP_LGREATEREQUAL 195 %token <i> PARSEOP_LLESS 196 %token <i> PARSEOP_LLESSEQUAL 197 %token <i> PARSEOP_LNOT 198 %token <i> PARSEOP_LNOTEQUAL 199 %token <i> PARSEOP_LOAD 200 %token <i> PARSEOP_LOADTABLE 201 %token <i> PARSEOP_LOCAL0 202 %token <i> PARSEOP_LOCAL1 203 %token <i> PARSEOP_LOCAL2 204 %token <i> PARSEOP_LOCAL3 205 %token <i> PARSEOP_LOCAL4 206 %token <i> PARSEOP_LOCAL5 207 %token <i> PARSEOP_LOCAL6 208 %token <i> PARSEOP_LOCAL7 209 %token <i> PARSEOP_LOCKRULE_LOCK 210 %token <i> PARSEOP_LOCKRULE_NOLOCK 211 %token <i> PARSEOP_LOR 212 %token <i> PARSEOP_MATCH 213 %token <i> PARSEOP_MATCHTYPE_MEQ 214 %token <i> PARSEOP_MATCHTYPE_MGE 215 %token <i> PARSEOP_MATCHTYPE_MGT 216 %token <i> PARSEOP_MATCHTYPE_MLE 217 %token <i> PARSEOP_MATCHTYPE_MLT 218 %token <i> PARSEOP_MATCHTYPE_MTR 219 %token <i> PARSEOP_MAXTYPE_FIXED 220 %token <i> PARSEOP_MAXTYPE_NOTFIXED 221 %token <i> PARSEOP_MEMORY24 222 %token <i> PARSEOP_MEMORY32 223 %token <i> PARSEOP_MEMORY32FIXED 224 %token <i> PARSEOP_MEMTYPE_CACHEABLE 225 %token <i> PARSEOP_MEMTYPE_NONCACHEABLE 226 %token <i> PARSEOP_MEMTYPE_PREFETCHABLE 227 %token <i> PARSEOP_MEMTYPE_WRITECOMBINING 228 %token <i> PARSEOP_METHOD 229 %token <i> PARSEOP_METHODCALL 230 %token <i> PARSEOP_MID 231 %token <i> PARSEOP_MINTYPE_FIXED 232 %token <i> PARSEOP_MINTYPE_NOTFIXED 233 %token <i> PARSEOP_MOD 234 %token <i> PARSEOP_MULTIPLY 235 %token <i> PARSEOP_MUTEX 236 %token <i> PARSEOP_NAME 237 %token <s> PARSEOP_NAMESEG 238 %token <s> PARSEOP_NAMESTRING 239 %token <i> PARSEOP_NAND 240 %token <i> PARSEOP_NOOP 241 %token <i> PARSEOP_NOR 242 %token <i> PARSEOP_NOT 243 %token <i> PARSEOP_NOTIFY 244 %token <i> PARSEOP_OBJECTTYPE 245 %token <i> PARSEOP_OBJECTTYPE_BFF 246 %token <i> PARSEOP_OBJECTTYPE_BUF 247 %token <i> PARSEOP_OBJECTTYPE_DDB 248 %token <i> PARSEOP_OBJECTTYPE_DEV 249 %token <i> PARSEOP_OBJECTTYPE_EVT 250 %token <i> PARSEOP_OBJECTTYPE_FLD 251 %token <i> PARSEOP_OBJECTTYPE_INT 252 %token <i> PARSEOP_OBJECTTYPE_MTH 253 %token <i> PARSEOP_OBJECTTYPE_MTX 254 %token <i> PARSEOP_OBJECTTYPE_OPR 255 %token <i> PARSEOP_OBJECTTYPE_PKG 256 %token <i> PARSEOP_OBJECTTYPE_POW 257 %token <i> PARSEOP_OBJECTTYPE_PRO 258 %token <i> PARSEOP_OBJECTTYPE_STR 259 %token <i> PARSEOP_OBJECTTYPE_THZ 260 %token <i> PARSEOP_OBJECTTYPE_UNK 261 %token <i> PARSEOP_OFFSET 262 %token <i> PARSEOP_ONE 263 %token <i> PARSEOP_ONES 264 %token <i> PARSEOP_OPERATIONREGION 265 %token <i> PARSEOP_OR 266 %token <i> PARSEOP_PACKAGE 267 %token <i> PARSEOP_PACKAGE_LENGTH 268 %token <i> PARSEOP_PARITYTYPE_EVEN 269 %token <i> PARSEOP_PARITYTYPE_MARK 270 %token <i> PARSEOP_PARITYTYPE_NONE 271 %token <i> PARSEOP_PARITYTYPE_ODD 272 %token <i> PARSEOP_PARITYTYPE_SPACE 273 %token <i> PARSEOP_PIN_NOPULL 274 %token <i> PARSEOP_PIN_PULLDEFAULT 275 %token <i> PARSEOP_PIN_PULLDOWN 276 %token <i> PARSEOP_PIN_PULLUP 277 %token <i> PARSEOP_POWERRESOURCE 278 %token <i> PARSEOP_PROCESSOR 279 %token <i> PARSEOP_QWORDCONST 280 %token <i> PARSEOP_QWORDIO 281 %token <i> PARSEOP_QWORDMEMORY 282 %token <i> PARSEOP_QWORDSPACE 283 %token <i> PARSEOP_RANGETYPE_ENTIRE 284 %token <i> PARSEOP_RANGETYPE_ISAONLY 285 %token <i> PARSEOP_RANGETYPE_NONISAONLY 286 %token <i> PARSEOP_RAW_DATA 287 %token <i> PARSEOP_READWRITETYPE_BOTH 288 %token <i> PARSEOP_READWRITETYPE_READONLY 289 %token <i> PARSEOP_REFOF 290 %token <i> PARSEOP_REGIONSPACE_CMOS 291 %token <i> PARSEOP_REGIONSPACE_EC 292 %token <i> PARSEOP_REGIONSPACE_FFIXEDHW 293 %token <i> PARSEOP_REGIONSPACE_GPIO 294 %token <i> PARSEOP_REGIONSPACE_GSBUS 295 %token <i> PARSEOP_REGIONSPACE_IO 296 %token <i> PARSEOP_REGIONSPACE_IPMI 297 %token <i> PARSEOP_REGIONSPACE_MEM 298 %token <i> PARSEOP_REGIONSPACE_PCC 299 %token <i> PARSEOP_REGIONSPACE_PCI 300 %token <i> PARSEOP_REGIONSPACE_PCIBAR 301 %token <i> PARSEOP_REGIONSPACE_SMBUS 302 %token <i> PARSEOP_REGISTER 303 %token <i> PARSEOP_RELEASE 304 %token <i> PARSEOP_RESERVED_BYTES 305 %token <i> PARSEOP_RESET 306 %token <i> PARSEOP_RESOURCETEMPLATE 307 %token <i> PARSEOP_RESOURCETYPE_CONSUMER 308 %token <i> PARSEOP_RESOURCETYPE_PRODUCER 309 %token <i> PARSEOP_RETURN 310 %token <i> PARSEOP_REVISION 311 %token <i> PARSEOP_SCOPE 312 %token <i> PARSEOP_SERIALIZERULE_NOTSERIAL 313 %token <i> PARSEOP_SERIALIZERULE_SERIAL 314 %token <i> PARSEOP_SHARETYPE_EXCLUSIVE 315 %token <i> PARSEOP_SHARETYPE_EXCLUSIVEWAKE 316 %token <i> PARSEOP_SHARETYPE_SHARED 317 %token <i> PARSEOP_SHARETYPE_SHAREDWAKE 318 %token <i> PARSEOP_SHIFTLEFT 319 %token <i> PARSEOP_SHIFTRIGHT 320 %token <i> PARSEOP_SIGNAL 321 %token <i> PARSEOP_SIZEOF 322 %token <i> PARSEOP_SLAVEMODE_CONTROLLERINIT 323 %token <i> PARSEOP_SLAVEMODE_DEVICEINIT 324 %token <i> PARSEOP_SLEEP 325 %token <i> PARSEOP_SPI_SERIALBUS 326 %token <i> PARSEOP_STALL 327 %token <i> PARSEOP_STARTDEPENDENTFN 328 %token <i> PARSEOP_STARTDEPENDENTFN_NOPRI 329 %token <i> PARSEOP_STOPBITS_ONE 330 %token <i> PARSEOP_STOPBITS_ONEPLUSHALF 331 %token <i> PARSEOP_STOPBITS_TWO 332 %token <i> PARSEOP_STOPBITS_ZERO 333 %token <i> PARSEOP_STORE 334 %token <s> PARSEOP_STRING_LITERAL 335 %token <i> PARSEOP_SUBTRACT 336 %token <i> PARSEOP_SWITCH 337 %token <i> PARSEOP_THERMALZONE 338 %token <i> PARSEOP_TIMER 339 %token <i> PARSEOP_TOBCD 340 %token <i> PARSEOP_TOBUFFER 341 %token <i> PARSEOP_TODECIMALSTRING 342 %token <i> PARSEOP_TOHEXSTRING 343 %token <i> PARSEOP_TOINTEGER 344 %token <i> PARSEOP_TOSTRING 345 %token <i> PARSEOP_TOUUID 346 %token <i> PARSEOP_TRANSLATIONTYPE_DENSE 347 %token <i> PARSEOP_TRANSLATIONTYPE_SPARSE 348 %token <i> PARSEOP_TYPE_STATIC 349 %token <i> PARSEOP_TYPE_TRANSLATION 350 %token <i> PARSEOP_UART_SERIALBUS 351 %token <i> PARSEOP_UNICODE 352 %token <i> PARSEOP_UNLOAD 353 %token <i> PARSEOP_UPDATERULE_ONES 354 %token <i> PARSEOP_UPDATERULE_PRESERVE 355 %token <i> PARSEOP_UPDATERULE_ZEROS 356 %token <i> PARSEOP_VAR_PACKAGE 357 %token <i> PARSEOP_VENDORLONG 358 %token <i> PARSEOP_VENDORSHORT 359 %token <i> PARSEOP_WAIT 360 %token <i> PARSEOP_WHILE 361 %token <i> PARSEOP_WIREMODE_FOUR 362 %token <i> PARSEOP_WIREMODE_THREE 363 %token <i> PARSEOP_WORDBUSNUMBER 364 %token <i> PARSEOP_WORDCONST 365 %token <i> PARSEOP_WORDIO 366 %token <i> PARSEOP_WORDSPACE 367 %token <i> PARSEOP_XFERSIZE_8 368 %token <i> PARSEOP_XFERSIZE_16 369 %token <i> PARSEOP_XFERSIZE_32 370 %token <i> PARSEOP_XFERSIZE_64 371 %token <i> PARSEOP_XFERSIZE_128 372 %token <i> PARSEOP_XFERSIZE_256 373 %token <i> PARSEOP_XFERTYPE_8 374 %token <i> PARSEOP_XFERTYPE_8_16 375 %token <i> PARSEOP_XFERTYPE_16 376 %token <i> PARSEOP_XOR 377 %token <i> PARSEOP_ZERO 378 379 /* 380 * Special functions. These should probably stay at the end of this 381 * table. 382 */ 383 %token <i> PARSEOP___DATE__ 384 %token <i> PARSEOP___FILE__ 385 %token <i> PARSEOP___LINE__ 386 %token <i> PARSEOP___PATH__ 387