From 834e81276e1ecabd5b05fd7b82cdabdb499f28be Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 16:17:56 +0000 Subject: [PATCH] strupr not POSIX, always use local AcpiUtStrupr date 2005.04.07.22.25.00; author rmoore1; state Exp; --- source/components/debugger/dbcmds.c | 34 +++++++++++++++++++++++++-- source/components/debugger/dbdisply.c | 14 +++++++++-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/source/components/debugger/dbcmds.c b/source/components/debugger/dbcmds.c index 814a24ae6..fb318d948 100644 --- a/source/components/debugger/dbcmds.c +++ b/source/components/debugger/dbcmds.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbcmds - debug commands and output routines - * $Revision: 1.119 $ + * $Revision: 1.121 $ * ******************************************************************************/ @@ -132,6 +132,36 @@ #define _COMPONENT ACPI_CA_DEBUGGER ACPI_MODULE_NAME ("dbcmds") +/* Local prototypes */ + +static ACPI_STATUS +AcpiDbIntegrityWalk ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +static ACPI_STATUS +AcpiDbWalkAndMatchName ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +static ACPI_STATUS +AcpiDbWalkForReferences ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +static ACPI_STATUS +AcpiDbWalkForSpecificObjects ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + /* * Arguments for the Objects command @@ -793,7 +823,7 @@ AcpiDbSetMethodData ( /* Validate TypeArg */ - ACPI_STRUPR (TypeArg); + AcpiUtStrupr (TypeArg); Type = TypeArg[0]; if ((Type != 'L') && (Type != 'A')) diff --git a/source/components/debugger/dbdisply.c b/source/components/debugger/dbdisply.c index 88fda891b..139e9e2b3 100644 --- a/source/components/debugger/dbdisply.c +++ b/source/components/debugger/dbdisply.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbdisply - debug display commands - * $Revision: 1.109 $ + * $Revision: 1.111 $ * ******************************************************************************/ @@ -130,6 +130,16 @@ #define _COMPONENT ACPI_CA_DEBUGGER ACPI_MODULE_NAME ("dbdisply") +/* Local prototypes */ + +static void +AcpiDbDumpParserDescriptor ( + ACPI_PARSE_OBJECT *Op); + +static void * +AcpiDbGetPointer ( + void *Target); + /******************************************************************************* * @@ -243,7 +253,7 @@ AcpiDbDecodeAndDisplayObject ( if (OutputType) { - ACPI_STRUPR (OutputType); + AcpiUtStrupr (OutputType); if (OutputType[0] == 'W') { Display = DB_WORD_DISPLAY;