mirror of
https://github.com/acpica/acpica/
synced 2025-04-01 02:53:01 +03:00
Support for ACPI 3.0 Register macro, new parameter
date 2004.12.09.22.10.00; author rmoore1; state Exp;
This commit is contained in:
parent
77235c03cc
commit
8201317bc6
@ -3,7 +3,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aslcompiler.y - Bison input file (ASL grammar and actions)
|
||||
* $Revision: 1.84 $
|
||||
* $Revision: 1.85 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -756,6 +756,7 @@ AslLocalAllocate (unsigned int Size);
|
||||
%type <n> OptionalParameterTypePackage
|
||||
%type <n> OptionalParameterTypesPackage
|
||||
%type <n> OptionalReference
|
||||
%type <n> OptionalAccessSize
|
||||
|
||||
|
||||
%type <n> TermArgItem
|
||||
@ -2834,7 +2835,8 @@ RegisterTerm
|
||||
',' ByteConstExpr
|
||||
',' ByteConstExpr
|
||||
',' QWordConstExpr
|
||||
')' {$$ = TrLinkChildren ($<n>3,4,$4,$6,$8,$10);}
|
||||
OptionalAccessSize
|
||||
')' {$$ = TrLinkChildren ($<n>3,5,$4,$6,$8,$10,$11);}
|
||||
| PARSEOP_REGISTER '('
|
||||
error ')' {$$ = AslDoError(); yyclearin;}
|
||||
;
|
||||
@ -2971,6 +2973,12 @@ OptionalAccessAttribTerm
|
||||
| ',' AccessAttribKeyword {$$ = $2;}
|
||||
;
|
||||
|
||||
OptionalAccessSize
|
||||
: {$$ = TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0);}
|
||||
| ',' {$$ = TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0);}
|
||||
| ',' ByteConstExpr {$$ = $2;}
|
||||
;
|
||||
|
||||
OptionalAddressRange
|
||||
: {$$ = NULL;}
|
||||
| ',' {$$ = NULL;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user