From 208c3f4814b6fab19bda34b9a29e7c2212ed1027 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 18:22:57 +0000 Subject: [PATCH] Cleanup - extraneous spaces and tab removal date 2001.11.02.00.06.00; author rmoore1; state Exp; --- source/components/namespace/nsdump.c | 14 +++++++------- source/components/namespace/nseval.c | 6 +++--- source/components/namespace/nsload.c | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/source/components/namespace/nsdump.c b/source/components/namespace/nsdump.c index 588880638..07f259719 100644 --- a/source/components/namespace/nsdump.c +++ b/source/components/namespace/nsdump.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsdump - table dumping routines for debug - * $Revision: 1.111 $ + * $Revision: 1.112 $ * *****************************************************************************/ @@ -312,7 +312,7 @@ AcpiNsDumpOneObject ( /* * Now we can print out the pertinent information */ - AcpiOsPrintf (" %4.4s %-12s %p", + AcpiOsPrintf (" %4.4s %-12s %p", (char *) &ThisNode->Name, AcpiUtGetTypeName (Type), ThisNode); ObjDesc = ThisNode->Object; @@ -379,7 +379,7 @@ AcpiNsDumpOneObject ( case ACPI_TYPE_STRING: AcpiOsPrintf (" Len %.2X", ObjDesc->String.Length); - + if (ObjDesc->String.Length > 0) { AcpiOsPrintf (" = \"%.32s\"...", ObjDesc->String.Pointer); @@ -446,7 +446,7 @@ AcpiNsDumpOneObject ( case INTERNAL_TYPE_BANK_FIELD: case INTERNAL_TYPE_INDEX_FIELD: AcpiOsPrintf (" Off %.2X Len %.2X Acc %.2d\n", - (ObjDesc->CommonField.BaseByteOffset * 8) + (ObjDesc->CommonField.BaseByteOffset * 8) + ObjDesc->CommonField.StartFieldBitOffset, ObjDesc->CommonField.BitLength, ObjDesc->CommonField.AccessBitWidth); @@ -458,7 +458,7 @@ AcpiNsDumpOneObject ( case ACPI_DISPLAY_OBJECTS: - AcpiOsPrintf ("%p O:%p", + AcpiOsPrintf ("%p O:%p", ThisNode, ObjDesc); if (!ObjDesc) @@ -469,7 +469,7 @@ AcpiNsDumpOneObject ( return (AE_OK); } - AcpiOsPrintf ("(R%d)", + AcpiOsPrintf ("(R%d)", ObjDesc->Common.ReferenceCount); switch (Type) @@ -787,7 +787,7 @@ AcpiNsDumpTables ( } - AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, MaxDepth, + AcpiNsDumpObjects (ACPI_TYPE_ANY, ACPI_DISPLAY_OBJECTS, MaxDepth, ACPI_UINT32_MAX, SearchHandle); return_VOID; } diff --git a/source/components/namespace/nseval.c b/source/components/namespace/nseval.c index b13c4ed12..d417eedc9 100644 --- a/source/components/namespace/nseval.c +++ b/source/components/namespace/nseval.c @@ -2,7 +2,7 @@ * * Module Name: nseval - Object evaluation interfaces -- includes control * method lookup and execution. - * $Revision: 1.101 $ + * $Revision: 1.103 $ * ******************************************************************************/ @@ -492,13 +492,13 @@ AcpiNsExecuteControlMethod ( } - ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Control method at Offset %x Length %lx]\n", + ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Control method at Offset %p Length %x]\n", ObjDesc->Method.AmlStart + 1, ObjDesc->Method.AmlLength - 1)); DUMP_PATHNAME (MethodNode, "NsExecuteControlMethod: Executing", ACPI_LV_NAMES, _COMPONENT); - ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "At offset %8XH\n", + ACPI_DEBUG_PRINT ((ACPI_DB_NAMES, "At offset %p\n", ObjDesc->Method.AmlStart + 1)); diff --git a/source/components/namespace/nsload.c b/source/components/namespace/nsload.c index c2814e78c..c70512ab6 100644 --- a/source/components/namespace/nsload.c +++ b/source/components/namespace/nsload.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: nsload - namespace loading/expanding/contracting procedures - * $Revision: 1.45 $ + * $Revision: 1.48 $ * *****************************************************************************/ @@ -232,11 +232,11 @@ AcpiNsOneCompleteParse ( return_ACPI_STATUS (AE_NO_MEMORY); } - Status = AcpiDsInitAmlWalk (WalkState, ParseRoot, NULL, TableDesc->AmlStart, - TableDesc->AmlLength, PassNumber); + Status = AcpiDsInitAmlWalk (WalkState, ParseRoot, NULL, TableDesc->AmlStart, + TableDesc->AmlLength, NULL, NULL, PassNumber); if (ACPI_FAILURE (Status)) { - /* TBD: delete walk state */ + AcpiDsDeleteWalkState (WalkState); return_ACPI_STATUS (Status); } @@ -315,7 +315,7 @@ AcpiNsParseTable ( * FUNCTION: AcpiNsLoadTable * * PARAMETERS: TableDesc - Descriptor for table to be loaded - * Node - Owning NS node + * Node - Owning NS node * * RETURN: Status *