STRLEN returns NATIVE_UINT, so fix places where people assume it

returns 32 bits. parse structs also changed to use NATIVE types


date	2001.02.15.00.11.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 20:12:53 +00:00
parent 3ec298b600
commit c7c6d424b4
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: actypes.h - Common data types for the entire ACPI subsystem
* $Revision: 1.166 $
* $Revision: 1.167 $
*
*****************************************************************************/
@ -586,7 +586,7 @@ typedef union AcpiObj
{
ACPI_OBJECT_TYPE Type;
UINT32 ProcId;
UINT32 PblkAddress;
ACPI_IO_ADDRESS PblkAddress;
UINT32 PblkLength;
} Processor;
@ -618,7 +618,7 @@ typedef struct AcpiObjList
typedef struct
{
UINT32 Length; /* Length in bytes of the buffer */
NATIVE_UINT Length; /* Length in bytes of the buffer */
void *Pointer; /* pointer to buffer */
} ACPI_BUFFER;

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: accommon.h -- prototypes for the common (subsystem-wide) procedures
* $Revision: 1.89 $
* $Revision: 1.91 $
*
*****************************************************************************/
@ -256,7 +256,7 @@ AcpiCmStrncat (
const NATIVE_CHAR *SrcString,
NATIVE_UINT Count);
UINT32
NATIVE_UINT
AcpiCmStrtoul (
const NATIVE_CHAR *String,
NATIVE_CHAR **Terminator,
@ -695,11 +695,15 @@ ACPI_STATUS
AcpiCmResolvePackageReferences (
ACPI_OPERAND_OBJECT *ObjDesc);
#ifdef ACPI_DEBUG
void
AcpiCmDisplayInitPathname (
ACPI_HANDLE ObjHandle,
char *Path);
#endif
/*
* Memory allocation functions and related macros.