aslresources.y (29f37e9bcc67d5d94c9d6bbbcf2717e16bf25c4e) | aslresources.y (cfd1ed46817c680fa7822bc523b054ff644055dc) |
---|---|
1NoEcho(' 2/****************************************************************************** 3 * 4 * Module Name: aslresources.y - Bison/Yacc production rules for resources 5 * - Keep this file synched with the 6 * CvParseOpBlockType function in cvcompiler.c 7 * 8 *****************************************************************************/ --- 176 unchanged lines hidden (view full) --- 185 186ResourceMacroList 187 : {$$ = NULL;} 188 | ResourceMacroList 189 ResourceMacroTerm {$$ = TrLinkPeerOp ($1,$2);} 190 ; 191 192ResourceMacroTerm | 1NoEcho(' 2/****************************************************************************** 3 * 4 * Module Name: aslresources.y - Bison/Yacc production rules for resources 5 * - Keep this file synched with the 6 * CvParseOpBlockType function in cvcompiler.c 7 * 8 *****************************************************************************/ --- 176 unchanged lines hidden (view full) --- 185 186ResourceMacroList 187 : {$$ = NULL;} 188 | ResourceMacroList 189 ResourceMacroTerm {$$ = TrLinkPeerOp ($1,$2);} 190 ; 191 192ResourceMacroTerm |
193 : DMATerm {} | 193 : Csi2SerialBusTerm {} 194 | DMATerm {} |
194 | DWordIOTerm {} 195 | DWordMemoryTerm {} 196 | DWordSpaceTerm {} 197 | EndDependentFnTerm {} 198 | ExtendedIOTerm {} 199 | ExtendedMemoryTerm {} 200 | ExtendedSpaceTerm {} 201 | FixedDmaTerm {} --- 26 unchanged lines hidden (view full) --- 228 | UartSerialBusTermV2 {} 229 | VendorLongTerm {} 230 | VendorShortTerm {} 231 | WordBusNumberTerm {} 232 | WordIOTerm {} 233 | WordSpaceTerm {} 234 ; 235 | 195 | DWordIOTerm {} 196 | DWordMemoryTerm {} 197 | DWordSpaceTerm {} 198 | EndDependentFnTerm {} 199 | ExtendedIOTerm {} 200 | ExtendedMemoryTerm {} 201 | ExtendedSpaceTerm {} 202 | FixedDmaTerm {} --- 26 unchanged lines hidden (view full) --- 229 | UartSerialBusTermV2 {} 230 | VendorLongTerm {} 231 | VendorShortTerm {} 232 | WordBusNumberTerm {} 233 | WordIOTerm {} 234 | WordSpaceTerm {} 235 ; 236 |
237Csi2SerialBusTerm 238 : PARSEOP_CSI2_SERIALBUS 239 PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_CSI2_SERIALBUS);} 240 OptionalSlaveMode_First {UtCheckIntegerRange ($4, 0x00, 0x01);} /* 04: SlaveMode */ 241 ',' ByteConstExpr {UtCheckIntegerRange ($7, 0x00, 0x03);} /* 07: PhyType */ 242 OptionalByteConstExpr {UtCheckIntegerRange ($9, 0x00, 0xFC);} /* 09: LocalPortInstance */ 243 ',' StringData /* 12: ResourceSource */ 244 ',' ByteConstExpr /* 14: ResourceSourceIndex */ 245 OptionalResourceType /* 15; ResourceType (ResourceUsage) */ 246 OptionalNameString /* 16: DescriptorName */ 247 OptionalBuffer_Last /* 17: VendorData */ 248 PARSEOP_CLOSE_PAREN {$$ = TrLinkOpChildren ($<n>3,8, 249 $4,$7,$9,$12,$14,$15,$16,$17);} 250 | PARSEOP_CSI2_SERIALBUS 251 PARSEOP_OPEN_PAREN 252 error PARSEOP_CLOSE_PAREN {$$ = AslDoError(); yyclearin;} 253 |
|
236DMATerm 237 : PARSEOP_DMA 238 PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_DMA);} 239 DMATypeKeyword 240 OptionalBusMasterKeyword 241 ',' XferTypeKeyword 242 OptionalNameString_Last 243 PARSEOP_CLOSE_PAREN '{' --- 760 unchanged lines hidden --- | 254DMATerm 255 : PARSEOP_DMA 256 PARSEOP_OPEN_PAREN {$<n>$ = TrCreateLeafOp (PARSEOP_DMA);} 257 DMATypeKeyword 258 OptionalBusMasterKeyword 259 ',' XferTypeKeyword 260 OptionalNameString_Last 261 PARSEOP_CLOSE_PAREN '{' --- 760 unchanged lines hidden --- |