strupr not POSIX, always use local AcpiUtStrupr

date	2005.04.07.22.25.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:17:56 +00:00
parent 8d2034d1a7
commit 834e81276e
2 changed files with 44 additions and 4 deletions

View File

@ -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'))

View File

@ -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;