mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 15:39:18 +03:00
Fix for disassembler, Scope operator
date 2004.11.05.22.31.00; author rmoore1; state Exp;
This commit is contained in:
parent
cd32d7e30b
commit
d6704fca5f
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: dswload - Dispatcher namespace load callbacks
|
||||
* $Revision: 1.87 $
|
||||
* $Revision: 1.88 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -262,21 +262,22 @@ AcpiDsLoad1BeginOp (
|
||||
*/
|
||||
Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
|
||||
ACPI_IMODE_EXECUTE, ACPI_NS_SEARCH_PARENT, WalkState, &(Node));
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
#ifdef _ACPI_ASL_COMPILER
|
||||
if (Status == AE_NOT_FOUND)
|
||||
{
|
||||
/*
|
||||
* Table disassembly:
|
||||
* Target of Scope() not found. Generate an External for it, and
|
||||
* insert the name into the namespace.
|
||||
*/
|
||||
AcpiDmAddToExternalList (Path);
|
||||
Status = AE_OK;
|
||||
Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ObjectType,
|
||||
ACPI_IMODE_LOAD_PASS1, ACPI_NS_SEARCH_PARENT, WalkState, &(Node));
|
||||
}
|
||||
else
|
||||
#endif
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
ACPI_REPORT_NSERROR (Path, Status);
|
||||
}
|
||||
#else
|
||||
ACPI_REPORT_NSERROR (Path, Status);
|
||||
#endif
|
||||
return (Status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user