1 1.1 christos NoEcho(' 2 1.1 christos /****************************************************************************** 3 1.1 christos * 4 1.1 christos * Module Name: aslkeywords.y - Rules for resource descriptor keywords 5 1.1 christos * 6 1.1 christos *****************************************************************************/ 7 1.1 christos 8 1.1.1.13 christos /****************************************************************************** 9 1.1.1.13 christos * 10 1.1.1.13 christos * 1. Copyright Notice 11 1.1.1.13 christos * 12 1.1.1.14 christos * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 13 1.1 christos * All rights reserved. 14 1.1 christos * 15 1.1.1.13 christos * 2. License 16 1.1.1.13 christos * 17 1.1.1.13 christos * 2.1. This is your license from Intel Corp. under its intellectual property 18 1.1.1.13 christos * rights. You may have additional license terms from the party that provided 19 1.1.1.13 christos * you this software, covering your right to use that party's intellectual 20 1.1.1.13 christos * property rights. 21 1.1.1.13 christos * 22 1.1.1.13 christos * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 23 1.1.1.13 christos * copy of the source code appearing in this file ("Covered Code") an 24 1.1.1.13 christos * irrevocable, perpetual, worldwide license under Intel's copyrights in the 25 1.1.1.13 christos * base code distributed originally by Intel ("Original Intel Code") to copy, 26 1.1.1.13 christos * make derivatives, distribute, use and display any portion of the Covered 27 1.1.1.13 christos * Code in any form, with the right to sublicense such rights; and 28 1.1.1.13 christos * 29 1.1.1.13 christos * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 30 1.1.1.13 christos * license (with the right to sublicense), under only those claims of Intel 31 1.1.1.13 christos * patents that are infringed by the Original Intel Code, to make, use, sell, 32 1.1.1.13 christos * offer to sell, and import the Covered Code and derivative works thereof 33 1.1.1.13 christos * solely to the minimum extent necessary to exercise the above copyright 34 1.1.1.13 christos * license, and in no event shall the patent license extend to any additions 35 1.1.1.13 christos * to or modifications of the Original Intel Code. No other license or right 36 1.1.1.13 christos * is granted directly or by implication, estoppel or otherwise; 37 1.1.1.13 christos * 38 1.1.1.13 christos * The above copyright and patent license is granted only if the following 39 1.1.1.13 christos * conditions are met: 40 1.1.1.13 christos * 41 1.1.1.13 christos * 3. Conditions 42 1.1.1.13 christos * 43 1.1.1.13 christos * 3.1. Redistribution of Source with Rights to Further Distribute Source. 44 1.1.1.13 christos * Redistribution of source code of any substantial portion of the Covered 45 1.1.1.13 christos * Code or modification with rights to further distribute source must include 46 1.1.1.13 christos * the above Copyright Notice, the above License, this list of Conditions, 47 1.1.1.13 christos * and the following Disclaimer and Export Compliance provision. In addition, 48 1.1.1.13 christos * Licensee must cause all Covered Code to which Licensee contributes to 49 1.1.1.13 christos * contain a file documenting the changes Licensee made to create that Covered 50 1.1.1.13 christos * Code and the date of any change. Licensee must include in that file the 51 1.1.1.13 christos * documentation of any changes made by any predecessor Licensee. Licensee 52 1.1.1.13 christos * must include a prominent statement that the modification is derived, 53 1.1.1.13 christos * directly or indirectly, from Original Intel Code. 54 1.1.1.13 christos * 55 1.1.1.13 christos * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 56 1.1.1.13 christos * Redistribution of source code of any substantial portion of the Covered 57 1.1.1.13 christos * Code or modification without rights to further distribute source must 58 1.1.1.13 christos * include the following Disclaimer and Export Compliance provision in the 59 1.1.1.13 christos * documentation and/or other materials provided with distribution. In 60 1.1.1.13 christos * addition, Licensee may not authorize further sublicense of source of any 61 1.1.1.13 christos * portion of the Covered Code, and must include terms to the effect that the 62 1.1.1.13 christos * license from Licensee to its licensee is limited to the intellectual 63 1.1.1.13 christos * property embodied in the software Licensee provides to its licensee, and 64 1.1.1.13 christos * not to intellectual property embodied in modifications its licensee may 65 1.1.1.13 christos * make. 66 1.1.1.13 christos * 67 1.1.1.13 christos * 3.3. Redistribution of Executable. Redistribution in executable form of any 68 1.1.1.13 christos * substantial portion of the Covered Code or modification must reproduce the 69 1.1.1.13 christos * above Copyright Notice, and the following Disclaimer and Export Compliance 70 1.1.1.13 christos * provision in the documentation and/or other materials provided with the 71 1.1.1.13 christos * distribution. 72 1.1.1.13 christos * 73 1.1.1.13 christos * 3.4. Intel retains all right, title, and interest in and to the Original 74 1.1.1.13 christos * Intel Code. 75 1.1.1.13 christos * 76 1.1.1.13 christos * 3.5. Neither the name Intel nor any other trademark owned or controlled by 77 1.1.1.13 christos * Intel shall be used in advertising or otherwise to promote the sale, use or 78 1.1.1.13 christos * other dealings in products derived from or relating to the Covered Code 79 1.1.1.13 christos * without prior written authorization from Intel. 80 1.1.1.13 christos * 81 1.1.1.13 christos * 4. Disclaimer and Export Compliance 82 1.1.1.13 christos * 83 1.1.1.13 christos * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED 84 1.1.1.13 christos * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE 85 1.1.1.13 christos * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, 86 1.1.1.13 christos * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY 87 1.1.1.13 christos * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY 88 1.1.1.13 christos * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A 89 1.1.1.13 christos * PARTICULAR PURPOSE. 90 1.1.1.13 christos * 91 1.1.1.13 christos * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES 92 1.1.1.13 christos * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR 93 1.1.1.13 christos * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, 94 1.1.1.13 christos * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY 95 1.1.1.13 christos * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL 96 1.1.1.13 christos * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS 97 1.1.1.13 christos * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY 98 1.1.1.13 christos * LIMITED REMEDY. 99 1.1.1.13 christos * 100 1.1.1.13 christos * 4.3. Licensee shall not export, either directly or indirectly, any of this 101 1.1.1.13 christos * software or system incorporating such software without first obtaining any 102 1.1.1.13 christos * required license or other approval from the U. S. Department of Commerce or 103 1.1.1.13 christos * any other agency or department of the United States Government. In the 104 1.1.1.13 christos * event Licensee exports any such software from the United States or 105 1.1.1.13 christos * re-exports any such software from a foreign destination, Licensee shall 106 1.1.1.13 christos * ensure that the distribution and export/re-export of the software is in 107 1.1.1.13 christos * compliance with all laws, regulations, orders, or other restrictions of the 108 1.1.1.13 christos * U.S. Export Administration Regulations. Licensee agrees that neither it nor 109 1.1.1.13 christos * any of its subsidiaries will export/re-export any technical data, process, 110 1.1.1.13 christos * software, or service, directly or indirectly, to any country for which the 111 1.1.1.13 christos * United States government or any agency thereof requires an export license, 112 1.1.1.13 christos * other governmental approval, or letter of assurance, without first obtaining 113 1.1.1.13 christos * such license, approval or letter. 114 1.1.1.13 christos * 115 1.1.1.13 christos ***************************************************************************** 116 1.1.1.13 christos * 117 1.1.1.13 christos * Alternatively, you may choose to be licensed under the terms of the 118 1.1.1.13 christos * following license: 119 1.1.1.13 christos * 120 1.1 christos * Redistribution and use in source and binary forms, with or without 121 1.1 christos * modification, are permitted provided that the following conditions 122 1.1 christos * are met: 123 1.1 christos * 1. Redistributions of source code must retain the above copyright 124 1.1 christos * notice, this list of conditions, and the following disclaimer, 125 1.1 christos * without modification. 126 1.1 christos * 2. Redistributions in binary form must reproduce at minimum a disclaimer 127 1.1 christos * substantially similar to the "NO WARRANTY" disclaimer below 128 1.1 christos * ("Disclaimer") and any redistribution must be conditioned upon 129 1.1 christos * including a substantially similar Disclaimer requirement for further 130 1.1 christos * binary redistribution. 131 1.1 christos * 3. Neither the names of the above-listed copyright holders nor the names 132 1.1 christos * of any contributors may be used to endorse or promote products derived 133 1.1 christos * from this software without specific prior written permission. 134 1.1 christos * 135 1.1 christos * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 136 1.1 christos * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 137 1.1.1.10 christos * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 138 1.1 christos * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 139 1.1.1.13 christos * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 140 1.1.1.13 christos * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 141 1.1.1.13 christos * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 142 1.1.1.13 christos * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 143 1.1.1.13 christos * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 144 1.1.1.13 christos * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 145 1.1.1.13 christos * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 146 1.1.1.13 christos * 147 1.1.1.13 christos * Alternatively, you may choose to be licensed under the terms of the 148 1.1.1.13 christos * GNU General Public License ("GPL") version 2 as published by the Free 149 1.1.1.13 christos * Software Foundation. 150 1.1.1.13 christos * 151 1.1.1.13 christos *****************************************************************************/ 152 1.1 christos 153 1.1 christos ') 154 1.1 christos 155 1.1 christos /******************************************************************************* 156 1.1 christos * 157 1.1 christos * ASL Parameter Keyword Terms 158 1.1 christos * 159 1.1 christos ******************************************************************************/ 160 1.1 christos 161 1.1 christos AccessAttribKeyword 162 1.1.1.3 christos : PARSEOP_ACCESSATTRIB_BLOCK {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_BLOCK);} 163 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_BLOCK_CALL {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_BLOCK_CALL);} 164 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_BYTE {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_BYTE);} 165 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_QUICK {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_QUICK );} 166 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_SND_RCV {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_SND_RCV);} 167 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_WORD {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_WORD);} 168 1.1.1.3 christos | PARSEOP_ACCESSATTRIB_WORD_CALL {$$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_WORD_CALL);} 169 1.1.1.5 christos | PARSEOP_ACCESSATTRIB_BYTES 170 1.1.1.5 christos PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_BYTES);} 171 1.1 christos ByteConst 172 1.1.1.3 christos PARSEOP_CLOSE_PAREN {$$ = TrLinkOpChildren ($<n>3,1,$4);} 173 1.1.1.2 christos | PARSEOP_ACCESSATTRIB_RAW_BYTES 174 1.1.1.3 christos PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_RAW_BYTES);} 175 1.1 christos ByteConst 176 1.1.1.3 christos PARSEOP_CLOSE_PAREN {$$ = TrLinkOpChildren ($<n>3,1,$4);} 177 1.1.1.2 christos | PARSEOP_ACCESSATTRIB_RAW_PROCESS 178 1.1.1.3 christos PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_ACCESSATTRIB_RAW_PROCESS);} 179 1.1 christos ByteConst 180 1.1.1.3 christos PARSEOP_CLOSE_PAREN {$$ = TrLinkOpChildren ($<n>3,1,$4);} 181 1.1 christos ; 182 1.1 christos 183 1.1 christos AccessTypeKeyword 184 1.1.1.3 christos : PARSEOP_ACCESSTYPE_ANY {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_ANY);} 185 1.1.1.3 christos | PARSEOP_ACCESSTYPE_BYTE {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_BYTE);} 186 1.1.1.3 christos | PARSEOP_ACCESSTYPE_WORD {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_WORD);} 187 1.1.1.3 christos | PARSEOP_ACCESSTYPE_DWORD {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_DWORD);} 188 1.1.1.3 christos | PARSEOP_ACCESSTYPE_QWORD {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_QWORD);} 189 1.1.1.3 christos | PARSEOP_ACCESSTYPE_BUF {$$ = TrCreateLeafOp (PARSEOP_ACCESSTYPE_BUF);} 190 1.1 christos ; 191 1.1 christos 192 1.1 christos AddressingModeKeyword 193 1.1.1.3 christos : PARSEOP_ADDRESSINGMODE_7BIT {$$ = TrCreateLeafOp (PARSEOP_ADDRESSINGMODE_7BIT);} 194 1.1.1.3 christos | PARSEOP_ADDRESSINGMODE_10BIT {$$ = TrCreateLeafOp (PARSEOP_ADDRESSINGMODE_10BIT);} 195 1.1 christos ; 196 1.1 christos 197 1.1 christos AddressKeyword 198 1.1.1.3 christos : PARSEOP_ADDRESSTYPE_MEMORY {$$ = TrCreateLeafOp (PARSEOP_ADDRESSTYPE_MEMORY);} 199 1.1.1.3 christos | PARSEOP_ADDRESSTYPE_RESERVED {$$ = TrCreateLeafOp (PARSEOP_ADDRESSTYPE_RESERVED);} 200 1.1.1.3 christos | PARSEOP_ADDRESSTYPE_NVS {$$ = TrCreateLeafOp (PARSEOP_ADDRESSTYPE_NVS);} 201 1.1.1.3 christos | PARSEOP_ADDRESSTYPE_ACPI {$$ = TrCreateLeafOp (PARSEOP_ADDRESSTYPE_ACPI);} 202 1.1 christos ; 203 1.1 christos 204 1.1 christos AddressSpaceKeyword 205 1.1.1.7 christos : ByteConst {$$ = UtCheckIntegerRange ($1, ACPI_NUM_PREDEFINED_REGIONS, 0xFF);} 206 1.1 christos | RegionSpaceKeyword {} 207 1.1 christos ; 208 1.1 christos 209 1.1 christos BitsPerByteKeyword 210 1.1.1.3 christos : PARSEOP_BITSPERBYTE_FIVE {$$ = TrCreateLeafOp (PARSEOP_BITSPERBYTE_FIVE);} 211 1.1.1.3 christos | PARSEOP_BITSPERBYTE_SIX {$$ = TrCreateLeafOp (PARSEOP_BITSPERBYTE_SIX);} 212 1.1.1.3 christos | PARSEOP_BITSPERBYTE_SEVEN {$$ = TrCreateLeafOp (PARSEOP_BITSPERBYTE_SEVEN);} 213 1.1.1.3 christos | PARSEOP_BITSPERBYTE_EIGHT {$$ = TrCreateLeafOp (PARSEOP_BITSPERBYTE_EIGHT);} 214 1.1.1.3 christos | PARSEOP_BITSPERBYTE_NINE {$$ = TrCreateLeafOp (PARSEOP_BITSPERBYTE_NINE);} 215 1.1 christos ; 216 1.1 christos 217 1.1 christos ClockPhaseKeyword 218 1.1.1.3 christos : PARSEOP_CLOCKPHASE_FIRST {$$ = TrCreateLeafOp (PARSEOP_CLOCKPHASE_FIRST);} 219 1.1.1.3 christos | PARSEOP_CLOCKPHASE_SECOND {$$ = TrCreateLeafOp (PARSEOP_CLOCKPHASE_SECOND);} 220 1.1 christos ; 221 1.1 christos 222 1.1 christos ClockPolarityKeyword 223 1.1.1.3 christos : PARSEOP_CLOCKPOLARITY_LOW {$$ = TrCreateLeafOp (PARSEOP_CLOCKPOLARITY_LOW);} 224 1.1.1.3 christos | PARSEOP_CLOCKPOLARITY_HIGH {$$ = TrCreateLeafOp (PARSEOP_CLOCKPOLARITY_HIGH);} 225 1.1 christos ; 226 1.1 christos 227 1.1 christos DecodeKeyword 228 1.1.1.3 christos : PARSEOP_DECODETYPE_POS {$$ = TrCreateLeafOp (PARSEOP_DECODETYPE_POS);} 229 1.1.1.3 christos | PARSEOP_DECODETYPE_SUB {$$ = TrCreateLeafOp (PARSEOP_DECODETYPE_SUB);} 230 1.1 christos ; 231 1.1 christos 232 1.1 christos DevicePolarityKeyword 233 1.1.1.3 christos : PARSEOP_DEVICEPOLARITY_LOW {$$ = TrCreateLeafOp (PARSEOP_DEVICEPOLARITY_LOW);} 234 1.1.1.3 christos | PARSEOP_DEVICEPOLARITY_HIGH {$$ = TrCreateLeafOp (PARSEOP_DEVICEPOLARITY_HIGH);} 235 1.1 christos ; 236 1.1 christos 237 1.1 christos DMATypeKeyword 238 1.1.1.3 christos : PARSEOP_DMATYPE_A {$$ = TrCreateLeafOp (PARSEOP_DMATYPE_A);} 239 1.1.1.3 christos | PARSEOP_DMATYPE_COMPATIBILITY {$$ = TrCreateLeafOp (PARSEOP_DMATYPE_COMPATIBILITY);} 240 1.1.1.3 christos | PARSEOP_DMATYPE_B {$$ = TrCreateLeafOp (PARSEOP_DMATYPE_B);} 241 1.1.1.3 christos | PARSEOP_DMATYPE_F {$$ = TrCreateLeafOp (PARSEOP_DMATYPE_F);} 242 1.1 christos ; 243 1.1 christos 244 1.1 christos EndianKeyword 245 1.1.1.3 christos : PARSEOP_ENDIAN_LITTLE {$$ = TrCreateLeafOp (PARSEOP_ENDIAN_LITTLE);} 246 1.1.1.3 christos | PARSEOP_ENDIAN_BIG {$$ = TrCreateLeafOp (PARSEOP_ENDIAN_BIG);} 247 1.1 christos ; 248 1.1 christos 249 1.1 christos FlowControlKeyword 250 1.1.1.3 christos : PARSEOP_FLOWCONTROL_HW {$$ = TrCreateLeafOp (PARSEOP_FLOWCONTROL_HW);} 251 1.1.1.3 christos | PARSEOP_FLOWCONTROL_NONE {$$ = TrCreateLeafOp (PARSEOP_FLOWCONTROL_NONE);} 252 1.1.1.3 christos | PARSEOP_FLOWCONTROL_SW {$$ = TrCreateLeafOp (PARSEOP_FLOWCONTROL_SW);} 253 1.1 christos ; 254 1.1 christos 255 1.1 christos InterruptLevel 256 1.1.1.3 christos : PARSEOP_INTLEVEL_ACTIVEBOTH {$$ = TrCreateLeafOp (PARSEOP_INTLEVEL_ACTIVEBOTH);} 257 1.1.1.3 christos | PARSEOP_INTLEVEL_ACTIVEHIGH {$$ = TrCreateLeafOp (PARSEOP_INTLEVEL_ACTIVEHIGH);} 258 1.1.1.3 christos | PARSEOP_INTLEVEL_ACTIVELOW {$$ = TrCreateLeafOp (PARSEOP_INTLEVEL_ACTIVELOW);} 259 1.1 christos ; 260 1.1 christos 261 1.1 christos InterruptTypeKeyword 262 1.1.1.3 christos : PARSEOP_INTTYPE_EDGE {$$ = TrCreateLeafOp (PARSEOP_INTTYPE_EDGE);} 263 1.1.1.3 christos | PARSEOP_INTTYPE_LEVEL {$$ = TrCreateLeafOp (PARSEOP_INTTYPE_LEVEL);} 264 1.1 christos ; 265 1.1 christos 266 1.1 christos IODecodeKeyword 267 1.1.1.3 christos : PARSEOP_IODECODETYPE_16 {$$ = TrCreateLeafOp (PARSEOP_IODECODETYPE_16);} 268 1.1.1.3 christos | PARSEOP_IODECODETYPE_10 {$$ = TrCreateLeafOp (PARSEOP_IODECODETYPE_10);} 269 1.1 christos ; 270 1.1 christos 271 1.1 christos IoRestrictionKeyword 272 1.1.1.3 christos : PARSEOP_IORESTRICT_IN {$$ = TrCreateLeafOp (PARSEOP_IORESTRICT_IN);} 273 1.1.1.3 christos | PARSEOP_IORESTRICT_OUT {$$ = TrCreateLeafOp (PARSEOP_IORESTRICT_OUT);} 274 1.1.1.3 christos | PARSEOP_IORESTRICT_NONE {$$ = TrCreateLeafOp (PARSEOP_IORESTRICT_NONE);} 275 1.1.1.3 christos | PARSEOP_IORESTRICT_PRESERVE {$$ = TrCreateLeafOp (PARSEOP_IORESTRICT_PRESERVE);} 276 1.1 christos ; 277 1.1 christos 278 1.1 christos LockRuleKeyword 279 1.1.1.3 christos : PARSEOP_LOCKRULE_LOCK {$$ = TrCreateLeafOp (PARSEOP_LOCKRULE_LOCK);} 280 1.1.1.3 christos | PARSEOP_LOCKRULE_NOLOCK {$$ = TrCreateLeafOp (PARSEOP_LOCKRULE_NOLOCK);} 281 1.1 christos ; 282 1.1 christos 283 1.1 christos MatchOpKeyword 284 1.1.1.3 christos : PARSEOP_MATCHTYPE_MTR {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MTR);} 285 1.1.1.3 christos | PARSEOP_MATCHTYPE_MEQ {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MEQ);} 286 1.1.1.3 christos | PARSEOP_MATCHTYPE_MLE {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MLE);} 287 1.1.1.3 christos | PARSEOP_MATCHTYPE_MLT {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MLT);} 288 1.1.1.3 christos | PARSEOP_MATCHTYPE_MGE {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MGE);} 289 1.1.1.3 christos | PARSEOP_MATCHTYPE_MGT {$$ = TrCreateLeafOp (PARSEOP_MATCHTYPE_MGT);} 290 1.1 christos ; 291 1.1 christos 292 1.1 christos MaxKeyword 293 1.1.1.3 christos : PARSEOP_MAXTYPE_FIXED {$$ = TrCreateLeafOp (PARSEOP_MAXTYPE_FIXED);} 294 1.1.1.3 christos | PARSEOP_MAXTYPE_NOTFIXED {$$ = TrCreateLeafOp (PARSEOP_MAXTYPE_NOTFIXED);} 295 1.1 christos ; 296 1.1 christos 297 1.1 christos MemTypeKeyword 298 1.1.1.3 christos : PARSEOP_MEMTYPE_CACHEABLE {$$ = TrCreateLeafOp (PARSEOP_MEMTYPE_CACHEABLE);} 299 1.1.1.3 christos | PARSEOP_MEMTYPE_WRITECOMBINING {$$ = TrCreateLeafOp (PARSEOP_MEMTYPE_WRITECOMBINING);} 300 1.1.1.3 christos | PARSEOP_MEMTYPE_PREFETCHABLE {$$ = TrCreateLeafOp (PARSEOP_MEMTYPE_PREFETCHABLE);} 301 1.1.1.3 christos | PARSEOP_MEMTYPE_NONCACHEABLE {$$ = TrCreateLeafOp (PARSEOP_MEMTYPE_NONCACHEABLE);} 302 1.1 christos ; 303 1.1 christos 304 1.1 christos MinKeyword 305 1.1.1.3 christos : PARSEOP_MINTYPE_FIXED {$$ = TrCreateLeafOp (PARSEOP_MINTYPE_FIXED);} 306 1.1.1.3 christos | PARSEOP_MINTYPE_NOTFIXED {$$ = TrCreateLeafOp (PARSEOP_MINTYPE_NOTFIXED);} 307 1.1 christos ; 308 1.1 christos 309 1.1 christos ObjectTypeKeyword 310 1.1.1.3 christos : PARSEOP_OBJECTTYPE_UNK {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_UNK);} 311 1.1.1.3 christos | PARSEOP_OBJECTTYPE_INT {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_INT);} 312 1.1.1.3 christos | PARSEOP_OBJECTTYPE_STR {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_STR);} 313 1.1.1.3 christos | PARSEOP_OBJECTTYPE_BUF {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_BUF);} 314 1.1.1.3 christos | PARSEOP_OBJECTTYPE_PKG {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_PKG);} 315 1.1.1.3 christos | PARSEOP_OBJECTTYPE_FLD {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_FLD);} 316 1.1.1.3 christos | PARSEOP_OBJECTTYPE_DEV {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_DEV);} 317 1.1.1.3 christos | PARSEOP_OBJECTTYPE_EVT {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_EVT);} 318 1.1.1.3 christos | PARSEOP_OBJECTTYPE_MTH {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_MTH);} 319 1.1.1.3 christos | PARSEOP_OBJECTTYPE_MTX {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_MTX);} 320 1.1.1.3 christos | PARSEOP_OBJECTTYPE_OPR {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_OPR);} 321 1.1.1.3 christos | PARSEOP_OBJECTTYPE_POW {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_POW);} 322 1.1.1.3 christos | PARSEOP_OBJECTTYPE_PRO {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_PRO);} 323 1.1.1.3 christos | PARSEOP_OBJECTTYPE_THZ {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_THZ);} 324 1.1.1.3 christos | PARSEOP_OBJECTTYPE_BFF {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_BFF);} 325 1.1.1.3 christos | PARSEOP_OBJECTTYPE_DDB {$$ = TrCreateLeafOp (PARSEOP_OBJECTTYPE_DDB);} 326 1.1 christos ; 327 1.1 christos 328 1.1 christos ParityTypeKeyword 329 1.1.1.3 christos : PARSEOP_PARITYTYPE_SPACE {$$ = TrCreateLeafOp (PARSEOP_PARITYTYPE_SPACE);} 330 1.1.1.3 christos | PARSEOP_PARITYTYPE_MARK {$$ = TrCreateLeafOp (PARSEOP_PARITYTYPE_MARK);} 331 1.1.1.3 christos | PARSEOP_PARITYTYPE_ODD {$$ = TrCreateLeafOp (PARSEOP_PARITYTYPE_ODD);} 332 1.1.1.3 christos | PARSEOP_PARITYTYPE_EVEN {$$ = TrCreateLeafOp (PARSEOP_PARITYTYPE_EVEN);} 333 1.1.1.3 christos | PARSEOP_PARITYTYPE_NONE {$$ = TrCreateLeafOp (PARSEOP_PARITYTYPE_NONE);} 334 1.1 christos ; 335 1.1 christos 336 1.1 christos PinConfigByte 337 1.1 christos : PinConfigKeyword {$$ = $1;} 338 1.1 christos | ByteConstExpr {$$ = UtCheckIntegerRange ($1, 0x80, 0xFF);} 339 1.1 christos ; 340 1.1 christos 341 1.1 christos PinConfigKeyword 342 1.1.1.3 christos : PARSEOP_PIN_NOPULL {$$ = TrCreateLeafOp (PARSEOP_PIN_NOPULL);} 343 1.1.1.3 christos | PARSEOP_PIN_PULLDOWN {$$ = TrCreateLeafOp (PARSEOP_PIN_PULLDOWN);} 344 1.1.1.3 christos | PARSEOP_PIN_PULLUP {$$ = TrCreateLeafOp (PARSEOP_PIN_PULLUP);} 345 1.1.1.3 christos | PARSEOP_PIN_PULLDEFAULT {$$ = TrCreateLeafOp (PARSEOP_PIN_PULLDEFAULT);} 346 1.1 christos ; 347 1.1 christos 348 1.1 christos PldKeyword 349 1.1.1.3 christos : PARSEOP_PLD_REVISION {$$ = TrCreateLeafOp (PARSEOP_PLD_REVISION);} 350 1.1.1.3 christos | PARSEOP_PLD_IGNORECOLOR {$$ = TrCreateLeafOp (PARSEOP_PLD_IGNORECOLOR);} 351 1.1.1.3 christos | PARSEOP_PLD_RED {$$ = TrCreateLeafOp (PARSEOP_PLD_RED);} 352 1.1.1.3 christos | PARSEOP_PLD_GREEN {$$ = TrCreateLeafOp (PARSEOP_PLD_GREEN);} 353 1.1.1.3 christos | PARSEOP_PLD_BLUE {$$ = TrCreateLeafOp (PARSEOP_PLD_BLUE);} 354 1.1.1.3 christos | PARSEOP_PLD_WIDTH {$$ = TrCreateLeafOp (PARSEOP_PLD_WIDTH);} 355 1.1.1.3 christos | PARSEOP_PLD_HEIGHT {$$ = TrCreateLeafOp (PARSEOP_PLD_HEIGHT);} 356 1.1.1.3 christos | PARSEOP_PLD_USERVISIBLE {$$ = TrCreateLeafOp (PARSEOP_PLD_USERVISIBLE);} 357 1.1.1.3 christos | PARSEOP_PLD_DOCK {$$ = TrCreateLeafOp (PARSEOP_PLD_DOCK);} 358 1.1.1.3 christos | PARSEOP_PLD_LID {$$ = TrCreateLeafOp (PARSEOP_PLD_LID);} 359 1.1.1.3 christos | PARSEOP_PLD_PANEL {$$ = TrCreateLeafOp (PARSEOP_PLD_PANEL);} 360 1.1.1.3 christos | PARSEOP_PLD_VERTICALPOSITION {$$ = TrCreateLeafOp (PARSEOP_PLD_VERTICALPOSITION);} 361 1.1.1.3 christos | PARSEOP_PLD_HORIZONTALPOSITION {$$ = TrCreateLeafOp (PARSEOP_PLD_HORIZONTALPOSITION);} 362 1.1.1.3 christos | PARSEOP_PLD_SHAPE {$$ = TrCreateLeafOp (PARSEOP_PLD_SHAPE);} 363 1.1.1.3 christos | PARSEOP_PLD_GROUPORIENTATION {$$ = TrCreateLeafOp (PARSEOP_PLD_GROUPORIENTATION);} 364 1.1.1.3 christos | PARSEOP_PLD_GROUPTOKEN {$$ = TrCreateLeafOp (PARSEOP_PLD_GROUPTOKEN);} 365 1.1.1.3 christos | PARSEOP_PLD_GROUPPOSITION {$$ = TrCreateLeafOp (PARSEOP_PLD_GROUPPOSITION);} 366 1.1.1.3 christos | PARSEOP_PLD_BAY {$$ = TrCreateLeafOp (PARSEOP_PLD_BAY);} 367 1.1.1.3 christos | PARSEOP_PLD_EJECTABLE {$$ = TrCreateLeafOp (PARSEOP_PLD_EJECTABLE);} 368 1.1.1.3 christos | PARSEOP_PLD_EJECTREQUIRED {$$ = TrCreateLeafOp (PARSEOP_PLD_EJECTREQUIRED);} 369 1.1.1.3 christos | PARSEOP_PLD_CABINETNUMBER {$$ = TrCreateLeafOp (PARSEOP_PLD_CABINETNUMBER);} 370 1.1.1.3 christos | PARSEOP_PLD_CARDCAGENUMBER {$$ = TrCreateLeafOp (PARSEOP_PLD_CARDCAGENUMBER);} 371 1.1.1.3 christos | PARSEOP_PLD_REFERENCE {$$ = TrCreateLeafOp (PARSEOP_PLD_REFERENCE);} 372 1.1.1.3 christos | PARSEOP_PLD_ROTATION {$$ = TrCreateLeafOp (PARSEOP_PLD_ROTATION);} 373 1.1.1.3 christos | PARSEOP_PLD_ORDER {$$ = TrCreateLeafOp (PARSEOP_PLD_ORDER);} 374 1.1.1.3 christos | PARSEOP_PLD_RESERVED {$$ = TrCreateLeafOp (PARSEOP_PLD_RESERVED);} 375 1.1.1.3 christos | PARSEOP_PLD_VERTICALOFFSET {$$ = TrCreateLeafOp (PARSEOP_PLD_VERTICALOFFSET);} 376 1.1.1.3 christos | PARSEOP_PLD_HORIZONTALOFFSET {$$ = TrCreateLeafOp (PARSEOP_PLD_HORIZONTALOFFSET);} 377 1.1 christos ; 378 1.1 christos 379 1.1 christos RangeTypeKeyword 380 1.1.1.3 christos : PARSEOP_RANGETYPE_ISAONLY {$$ = TrCreateLeafOp (PARSEOP_RANGETYPE_ISAONLY);} 381 1.1.1.3 christos | PARSEOP_RANGETYPE_NONISAONLY {$$ = TrCreateLeafOp (PARSEOP_RANGETYPE_NONISAONLY);} 382 1.1.1.3 christos | PARSEOP_RANGETYPE_ENTIRE {$$ = TrCreateLeafOp (PARSEOP_RANGETYPE_ENTIRE);} 383 1.1 christos ; 384 1.1 christos 385 1.1 christos RegionSpaceKeyword 386 1.1.1.3 christos : PARSEOP_REGIONSPACE_IO {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_IO);} 387 1.1.1.3 christos | PARSEOP_REGIONSPACE_MEM {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_MEM);} 388 1.1.1.3 christos | PARSEOP_REGIONSPACE_PCI {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_PCI);} 389 1.1.1.3 christos | PARSEOP_REGIONSPACE_EC {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_EC);} 390 1.1.1.3 christos | PARSEOP_REGIONSPACE_SMBUS {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_SMBUS);} 391 1.1.1.3 christos | PARSEOP_REGIONSPACE_CMOS {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_CMOS);} 392 1.1.1.3 christos | PARSEOP_REGIONSPACE_PCIBAR {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_PCIBAR);} 393 1.1.1.3 christos | PARSEOP_REGIONSPACE_IPMI {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_IPMI);} 394 1.1.1.3 christos | PARSEOP_REGIONSPACE_GPIO {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_GPIO);} 395 1.1.1.3 christos | PARSEOP_REGIONSPACE_GSBUS {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_GSBUS);} 396 1.1.1.3 christos | PARSEOP_REGIONSPACE_PCC {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_PCC);} 397 1.1.1.9 christos | PARSEOP_REGIONSPACE_PRM {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_PRM);} 398 1.1.1.3 christos | PARSEOP_REGIONSPACE_FFIXEDHW {$$ = TrCreateLeafOp (PARSEOP_REGIONSPACE_FFIXEDHW);} 399 1.1 christos ; 400 1.1 christos 401 1.1 christos ResourceTypeKeyword 402 1.1.1.3 christos : PARSEOP_RESOURCETYPE_CONSUMER {$$ = TrCreateLeafOp (PARSEOP_RESOURCETYPE_CONSUMER);} 403 1.1.1.3 christos | PARSEOP_RESOURCETYPE_PRODUCER {$$ = TrCreateLeafOp (PARSEOP_RESOURCETYPE_PRODUCER);} 404 1.1 christos ; 405 1.1 christos 406 1.1 christos SerializeRuleKeyword 407 1.1.1.3 christos : PARSEOP_SERIALIZERULE_SERIAL {$$ = TrCreateLeafOp (PARSEOP_SERIALIZERULE_SERIAL);} 408 1.1.1.3 christos | PARSEOP_SERIALIZERULE_NOTSERIAL {$$ = TrCreateLeafOp (PARSEOP_SERIALIZERULE_NOTSERIAL);} 409 1.1 christos ; 410 1.1 christos 411 1.1 christos ShareTypeKeyword 412 1.1.1.3 christos : PARSEOP_SHARETYPE_SHARED {$$ = TrCreateLeafOp (PARSEOP_SHARETYPE_SHARED);} 413 1.1.1.3 christos | PARSEOP_SHARETYPE_EXCLUSIVE {$$ = TrCreateLeafOp (PARSEOP_SHARETYPE_EXCLUSIVE);} 414 1.1.1.3 christos | PARSEOP_SHARETYPE_SHAREDWAKE {$$ = TrCreateLeafOp (PARSEOP_SHARETYPE_SHAREDWAKE);} 415 1.1.1.3 christos | PARSEOP_SHARETYPE_EXCLUSIVEWAKE {$$ = TrCreateLeafOp (PARSEOP_SHARETYPE_EXCLUSIVEWAKE);} 416 1.1 christos ; 417 1.1 christos 418 1.1 christos SlaveModeKeyword 419 1.1.1.3 christos : PARSEOP_SLAVEMODE_CONTROLLERINIT {$$ = TrCreateLeafOp (PARSEOP_SLAVEMODE_CONTROLLERINIT);} 420 1.1.1.3 christos | PARSEOP_SLAVEMODE_DEVICEINIT {$$ = TrCreateLeafOp (PARSEOP_SLAVEMODE_DEVICEINIT);} 421 1.1 christos ; 422 1.1 christos 423 1.1 christos StopBitsKeyword 424 1.1.1.3 christos : PARSEOP_STOPBITS_TWO {$$ = TrCreateLeafOp (PARSEOP_STOPBITS_TWO);} 425 1.1.1.3 christos | PARSEOP_STOPBITS_ONEPLUSHALF {$$ = TrCreateLeafOp (PARSEOP_STOPBITS_ONEPLUSHALF);} 426 1.1.1.3 christos | PARSEOP_STOPBITS_ONE {$$ = TrCreateLeafOp (PARSEOP_STOPBITS_ONE);} 427 1.1.1.3 christos | PARSEOP_STOPBITS_ZERO {$$ = TrCreateLeafOp (PARSEOP_STOPBITS_ZERO);} 428 1.1 christos ; 429 1.1 christos 430 1.1 christos TranslationKeyword 431 1.1.1.3 christos : PARSEOP_TRANSLATIONTYPE_SPARSE {$$ = TrCreateLeafOp (PARSEOP_TRANSLATIONTYPE_SPARSE);} 432 1.1.1.3 christos | PARSEOP_TRANSLATIONTYPE_DENSE {$$ = TrCreateLeafOp (PARSEOP_TRANSLATIONTYPE_DENSE);} 433 1.1 christos ; 434 1.1 christos 435 1.1 christos TypeKeyword 436 1.1.1.3 christos : PARSEOP_TYPE_TRANSLATION {$$ = TrCreateLeafOp (PARSEOP_TYPE_TRANSLATION);} 437 1.1.1.3 christos | PARSEOP_TYPE_STATIC {$$ = TrCreateLeafOp (PARSEOP_TYPE_STATIC);} 438 1.1 christos ; 439 1.1 christos 440 1.1 christos UpdateRuleKeyword 441 1.1.1.3 christos : PARSEOP_UPDATERULE_PRESERVE {$$ = TrCreateLeafOp (PARSEOP_UPDATERULE_PRESERVE);} 442 1.1.1.3 christos | PARSEOP_UPDATERULE_ONES {$$ = TrCreateLeafOp (PARSEOP_UPDATERULE_ONES);} 443 1.1.1.3 christos | PARSEOP_UPDATERULE_ZEROS {$$ = TrCreateLeafOp (PARSEOP_UPDATERULE_ZEROS);} 444 1.1 christos ; 445 1.1 christos 446 1.1 christos WireModeKeyword 447 1.1.1.3 christos : PARSEOP_WIREMODE_FOUR {$$ = TrCreateLeafOp (PARSEOP_WIREMODE_FOUR);} 448 1.1.1.3 christos | PARSEOP_WIREMODE_THREE {$$ = TrCreateLeafOp (PARSEOP_WIREMODE_THREE);} 449 1.1 christos ; 450 1.1 christos 451 1.1 christos XferSizeKeyword 452 1.1.1.3 christos : PARSEOP_XFERSIZE_8 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_8, 0);} 453 1.1.1.3 christos | PARSEOP_XFERSIZE_16 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_16, 1);} 454 1.1.1.3 christos | PARSEOP_XFERSIZE_32 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_32, 2);} 455 1.1.1.3 christos | PARSEOP_XFERSIZE_64 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_64, 3);} 456 1.1.1.3 christos | PARSEOP_XFERSIZE_128 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_128, 4);} 457 1.1.1.3 christos | PARSEOP_XFERSIZE_256 {$$ = TrCreateValuedLeafOp (PARSEOP_XFERSIZE_256, 5);} 458 1.1 christos ; 459 1.1 christos 460 1.1 christos XferTypeKeyword 461 1.1.1.3 christos : PARSEOP_XFERTYPE_8 {$$ = TrCreateLeafOp (PARSEOP_XFERTYPE_8);} 462 1.1.1.3 christos | PARSEOP_XFERTYPE_8_16 {$$ = TrCreateLeafOp (PARSEOP_XFERTYPE_8_16);} 463 1.1.1.3 christos | PARSEOP_XFERTYPE_16 {$$ = TrCreateLeafOp (PARSEOP_XFERTYPE_16);} 464 1.1 christos ; 465 1.1.1.12 christos 466 1.1.1.12 christos ClockScaleKeyword 467 1.1.1.12 christos : PARSEOP_CLOCK_HZ {$$ = TrCreateLeafOp (PARSEOP_CLOCK_HZ);} 468 1.1.1.12 christos | PARSEOP_CLOCK_KHZ {$$ = TrCreateLeafOp (PARSEOP_CLOCK_KHZ);} 469 1.1.1.12 christos | PARSEOP_CLOCK_MHZ {$$ = TrCreateLeafOp (PARSEOP_CLOCK_MHZ);} 470 1.1.1.12 christos ; 471 1.1.1.12 christos 472 1.1.1.12 christos ClockModeKeyword 473 1.1.1.12 christos : PARSEOP_CLOCK_FIXED {$$ = TrCreateLeafOp (PARSEOP_CLOCK_FIXED);} 474 1.1.1.12 christos | PARSEOP_CLOCK_VARIABLE {$$ = TrCreateLeafOp (PARSEOP_CLOCK_VARIABLE);} 475 1.1.1.12 christos ; 476