mirror of
https://github.com/acpica/acpica/
synced 2025-02-14 12:34:50 +03:00
Revision override now affects the compiler internally (for constant
folding) date 2005.05.16.22.32.00; author rmoore1; state Exp;
This commit is contained in:
parent
86e48db911
commit
079cbd9b18
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aslopcode - AML opcode generation
|
||||
* $Revision: 1.69 $
|
||||
* $Revision: 1.70 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -197,18 +197,26 @@ OpcGetIntegerWidth (
|
||||
{
|
||||
ACPI_PARSE_OBJECT *Child;
|
||||
|
||||
|
||||
if (!Op)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Child = Op->Asl.Child;
|
||||
Child = Child->Asl.Next;
|
||||
Child = Child->Asl.Next;
|
||||
if (Gbl_RevisionOverride)
|
||||
{
|
||||
AcpiUtSetIntegerWidth (Gbl_RevisionOverride);
|
||||
}
|
||||
else
|
||||
{
|
||||
Child = Op->Asl.Child;
|
||||
Child = Child->Asl.Next;
|
||||
Child = Child->Asl.Next;
|
||||
|
||||
/* Use the revision to set the integer width */
|
||||
/* Use the revision to set the integer width */
|
||||
|
||||
AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
|
||||
AcpiUtSetIntegerWidth ((UINT8) Child->Asl.Value.Integer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user