mirror of
https://github.com/acpica/acpica/
synced 2025-01-28 20:25:25 +03:00
Fix for scope problem for aliased methods
date 2004.03.26.22.32.00; author rmoore1; state Exp;
This commit is contained in:
parent
afba3bd7b8
commit
c54610fd9e
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: exresnte - AML Interpreter object resolution
|
||||
* $Revision: 1.63 $
|
||||
* $Revision: 1.65 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -182,11 +182,12 @@ AcpiExResolveNodeToValue (
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "Entry=%p SourceDesc=%p [%s]\n",
|
||||
Node, SourceDesc, AcpiUtGetTypeName (EntryType)));
|
||||
|
||||
if (EntryType == ACPI_TYPE_LOCAL_ALIAS)
|
||||
if ((EntryType == ACPI_TYPE_LOCAL_ALIAS) ||
|
||||
(EntryType == ACPI_TYPE_LOCAL_METHOD_ALIAS))
|
||||
{
|
||||
/* There is always exactly one level of indirection */
|
||||
|
||||
Node = (ACPI_NAMESPACE_NODE *) Node->Object;
|
||||
Node = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Node->Object);
|
||||
SourceDesc = AcpiNsGetAttachedObject (Node);
|
||||
EntryType = AcpiNsGetType ((ACPI_HANDLE) Node);
|
||||
*ObjectPtr = Node;
|
||||
|
Loading…
x
Reference in New Issue
Block a user