mirror of
https://github.com/acpica/acpica/
synced 2025-02-09 01:54:44 +03:00
Additional cleanup and comments for bz 5369
This commit is contained in:
parent
0b95670ed0
commit
caea6bf655
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: exresolv - AML Interpreter object resolution
|
||||
* $Revision: 1.138 $
|
||||
* $Revision: 1.139 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -354,21 +354,23 @@ AcpiExResolveObjectToValue (
|
||||
|
||||
case AML_INT_NAMEPATH_OP: /* Reference to a named object */
|
||||
|
||||
/* Get the object pointed to by the namespace node */
|
||||
/* Dereference the name */
|
||||
|
||||
*StackPtr = (StackDesc->Reference.Node)->Object;
|
||||
if ((StackDesc->Reference.Node->Type == ACPI_TYPE_DEVICE) ||
|
||||
(StackDesc->Reference.Node->Type == ACPI_TYPE_THERMAL))
|
||||
{
|
||||
/* These do not have 'real' subobjects */
|
||||
/* These node types do not have 'real' subobjects */
|
||||
|
||||
*StackPtr = (void *) StackDesc->Reference.Node;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Get the object pointed to by the namespace node */
|
||||
|
||||
*StackPtr = (StackDesc->Reference.Node)->Object;
|
||||
AcpiUtAddReference (*StackPtr);
|
||||
}
|
||||
|
||||
AcpiUtRemoveReference (StackDesc);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user