mirror of
https://github.com/acpica/acpica/
synced 2025-02-07 17:14:13 +03:00
cleanup
This commit is contained in:
parent
049575a692
commit
97f0dfeb99
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: dbexec - debugger control method execution
|
||||
* $Revision: 1.70 $
|
||||
* $Revision: 1.71 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -505,13 +505,6 @@ AcpiDbMethodThread (
|
||||
|
||||
for (i = 0; i < Info->NumLoops; i++)
|
||||
{
|
||||
#if 0
|
||||
if (i == 0xEFDC)
|
||||
{
|
||||
AcpiDbgLevel = 0x00FFFFFF;
|
||||
}
|
||||
#endif
|
||||
|
||||
Status = AcpiDbExecuteMethod (Info, &ReturnObj);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
@ -543,7 +536,8 @@ AcpiDbMethodThread (
|
||||
Status = AcpiOsSignalSemaphore (Info->ThreadGate, 1);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
AcpiOsPrintf ("Could not signal debugger semaphore\n");
|
||||
AcpiOsPrintf ("Could not signal debugger thread sync semaphore, %s\n",
|
||||
AcpiFormatException (Status));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: nsaccess - Top-level functions for accessing ACPI namespace
|
||||
* $Revision: 1.192 $
|
||||
* $Revision: 1.193 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -462,9 +462,9 @@ AcpiNsLookup (
|
||||
{
|
||||
/* A Null NamePath is allowed and refers to the root */
|
||||
|
||||
NumSegments = 0;
|
||||
ThisNode = AcpiGbl_RootNode;
|
||||
Path = "";
|
||||
NumSegments = 0;
|
||||
ThisNode = AcpiGbl_RootNode;
|
||||
Path = "";
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_NAMES,
|
||||
"Null Pathname (Zero segments), Flags=%X\n", Flags));
|
||||
@ -696,13 +696,13 @@ AcpiNsLookup (
|
||||
*
|
||||
* Then we have a type mismatch. Just warn and ignore it.
|
||||
*/
|
||||
if ((NumSegments == 0) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_ANY) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_ALIAS) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_METHOD_ALIAS) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_SCOPE) &&
|
||||
(ThisNode->Type != ACPI_TYPE_ANY) &&
|
||||
(ThisNode->Type != TypeToCheckFor))
|
||||
if ((NumSegments == 0) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_ANY) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_ALIAS) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_METHOD_ALIAS) &&
|
||||
(TypeToCheckFor != ACPI_TYPE_LOCAL_SCOPE) &&
|
||||
(ThisNode->Type != ACPI_TYPE_ANY) &&
|
||||
(ThisNode->Type != TypeToCheckFor))
|
||||
{
|
||||
/* Complain about a type mismatch */
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: utglobal - Global variables for the ACPI subsystem
|
||||
* $Revision: 1.217 $
|
||||
* $Revision: 1.218 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -697,7 +697,7 @@ AcpiUtGetNodeName (
|
||||
|
||||
/* Name must be a valid ACPI name */
|
||||
|
||||
if (!AcpiUtValidAcpiName (ACPI_GET32 (Node->Name.Ascii)))
|
||||
if (!AcpiUtValidAcpiName (Node->Name.Integer))
|
||||
{
|
||||
return ("????");
|
||||
}
|
||||
@ -927,7 +927,6 @@ AcpiUtInitGlobals (
|
||||
/* Namespace */
|
||||
|
||||
AcpiGbl_RootNode = NULL;
|
||||
|
||||
AcpiGbl_RootNodeStruct.Name.Integer = ACPI_ROOT_NAME;
|
||||
AcpiGbl_RootNodeStruct.Descriptor = ACPI_DESC_TYPE_NAMED;
|
||||
AcpiGbl_RootNodeStruct.Type = ACPI_TYPE_DEVICE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user