Removed parse of all control methods during table load

This commit is contained in:
rmoore1 2005-11-16 22:38:07 +00:00
parent 7b678d2906
commit 21eeb7d881

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: dsinit - Object initialization namespace walk
* $Revision: 1.17 $
* $Revision: 1.18 $
*
*****************************************************************************/
@ -203,15 +203,6 @@ AcpiDsInitOneObject (
case ACPI_TYPE_METHOD:
/*
* Print a dot for each method unless we are going to print
* the entire pathname
*/
if (!(AcpiDbgLevel & ACPI_LV_INIT_NAMES))
{
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "."));
}
/*
* Set the execution data width (32 or 64) based upon the
* revision number of the parent ACPI table.
@ -223,6 +214,23 @@ AcpiDsInitOneObject (
Node->Flags |= ANOBJ_DATA_WIDTH_32;
}
#ifdef ACPI_INIT_PARSE_METHODS
/*
* Note 11/2005: Removed this code to parse all methods during table
* load because it causes problems if there are any errors during the
* parse. Also, it seems like overkill and we probably don't want to
* abort a table load because of an issue with a single method.
*/
/*
* Print a dot for each method unless we are going to print
* the entire pathname
*/
if (!(AcpiDbgLevel & ACPI_LV_INIT_NAMES))
{
ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "."));
}
/*
* Always parse methods to detect errors, we will delete
* the parse tree below
@ -237,7 +245,7 @@ AcpiDsInitOneObject (
/* This parse failed, but we will continue parsing more methods */
}
#endif
Info->MethodCount++;
break;