mirror of
https://github.com/acpica/acpica/
synced 2025-03-11 00:31:53 +03:00
Deployed new UtGetObjectTypeName function. Fully deployed use of
ACPI_GET_OBJECT_TYPE macro for consistency. date 2002.06.07.21.34.00; author rmoore1; state Exp;
This commit is contained in:
parent
35e608e333
commit
ead52bd029
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aslfold - Constant folding
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -452,7 +452,7 @@ OpcAmlConstantWalk (
|
||||
* Because we know we executed type 3/4/5 opcodes above, we know that
|
||||
* the result must be either an Integer, String, or Buffer.
|
||||
*/
|
||||
switch (ObjDesc->Common.Type)
|
||||
switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
|
||||
{
|
||||
case ACPI_TYPE_INTEGER:
|
||||
|
||||
@ -517,7 +517,7 @@ OpcAmlConstantWalk (
|
||||
|
||||
default:
|
||||
printf ("Unsupported return type: %s\n",
|
||||
AcpiUtGetTypeName (ObjDesc->Common.Type));
|
||||
AcpiUtGetObjectTypeName (ObjDesc));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user