exresnte.c (126372) | exresnte.c (128212) |
---|---|
1 2/****************************************************************************** 3 * 4 * Module Name: exresnte - AML Interpreter object resolution | 1 2/****************************************************************************** 3 * 4 * Module Name: exresnte - AML Interpreter object resolution |
5 * $Revision: 64 $ | 5 * $Revision: 65 $ |
6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * 13 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 163 unchanged lines hidden (view full) --- 177 */ 178 Node = *ObjectPtr; 179 SourceDesc = AcpiNsGetAttachedObject (Node); 180 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); 181 182 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Entry=%p SourceDesc=%p [%s]\n", 183 Node, SourceDesc, AcpiUtGetTypeName (EntryType))); 184 | 6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * 13 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp. --- 163 unchanged lines hidden (view full) --- 177 */ 178 Node = *ObjectPtr; 179 SourceDesc = AcpiNsGetAttachedObject (Node); 180 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); 181 182 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Entry=%p SourceDesc=%p [%s]\n", 183 Node, SourceDesc, AcpiUtGetTypeName (EntryType))); 184 |
185 if (EntryType == ACPI_TYPE_LOCAL_ALIAS) | 185 if ((EntryType == ACPI_TYPE_LOCAL_ALIAS) || 186 (EntryType == ACPI_TYPE_LOCAL_METHOD_ALIAS)) |
186 { 187 /* There is always exactly one level of indirection */ 188 | 187 { 188 /* There is always exactly one level of indirection */ 189 |
189 Node = (ACPI_NAMESPACE_NODE *) Node->Object; | 190 Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object); |
190 SourceDesc = AcpiNsGetAttachedObject (Node); 191 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); 192 *ObjectPtr = Node; 193 } 194 195 /* 196 * Several object types require no further processing: 197 * 1) Devices rarely have an attached object, return the Node --- 176 unchanged lines hidden --- | 191 SourceDesc = AcpiNsGetAttachedObject (Node); 192 EntryType = AcpiNsGetType ((ACPI_HANDLE) Node); 193 *ObjectPtr = Node; 194 } 195 196 /* 197 * Several object types require no further processing: 198 * 1) Devices rarely have an attached object, return the Node --- 176 unchanged lines hidden --- |