mirror of
https://github.com/acpica/acpica/
synced 2025-02-21 07:54:32 +03:00
Cleanup, restructuring, eliminate debug output
This commit is contained in:
parent
59c072b436
commit
833bbb80d7
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: adisasm - Application-level disassembler routines
|
||||
* $Revision: 1.96 $
|
||||
* $Revision: 1.97 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -447,18 +447,8 @@ AdAmlDisassemble (
|
||||
*/
|
||||
AcpiDmFinishNamespaceLoad (AcpiGbl_ParseOpRoot, AcpiGbl_RootNode);
|
||||
|
||||
if (AslCompilerdebug)
|
||||
{
|
||||
AcpiOsPrintf ("/**** After second load \n");
|
||||
LsSetupNsList (File);
|
||||
LsDisplayNamespace ();
|
||||
AcpiOsPrintf ("*****/\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* Cross reference the namespace here, in order to
|
||||
* generate External() statements and to convert fixed-offset
|
||||
* references to resource descriptors to symbolic references.
|
||||
* Cross reference the namespace here, in order to generate External() statements
|
||||
*/
|
||||
AcpiDmCrossReferenceNamespace (AcpiGbl_ParseOpRoot, AcpiGbl_RootNode);
|
||||
|
||||
@ -471,6 +461,18 @@ AdAmlDisassemble (
|
||||
|
||||
AcpiDmFindOrphanMethods (AcpiGbl_ParseOpRoot);
|
||||
|
||||
/* Convert fixed-offset references to resource descriptors to symbolic references */
|
||||
|
||||
AcpiDmConvertResourceIndexes (AcpiGbl_ParseOpRoot, AcpiGbl_RootNode);
|
||||
|
||||
if (AslCompilerdebug)
|
||||
{
|
||||
AcpiOsPrintf ("/**** After second load and resource conversion \n");
|
||||
LsSetupNsList (File);
|
||||
LsDisplayNamespace ();
|
||||
AcpiOsPrintf ("*****/\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* If we found any external control methods, we must reparse the entire
|
||||
* tree with the new information (namely, the number of arguments per
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -199,6 +199,11 @@ AcpiDmFinishNamespaceLoad (
|
||||
ACPI_PARSE_OBJECT *ParseTreeRoot,
|
||||
ACPI_NAMESPACE_NODE *NamespaceRoot);
|
||||
|
||||
void
|
||||
AcpiDmConvertResourceIndexes (
|
||||
ACPI_PARSE_OBJECT *ParseTreeRoot,
|
||||
ACPI_NAMESPACE_NODE *NamespaceRoot);
|
||||
|
||||
/*
|
||||
* adfile
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user