Debug output fixes for 16-bit

date	2002.05.17.17.27.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:02:34 +00:00
parent bf94eb63e1
commit f0f3a15320

View File

@ -1,7 +1,7 @@
/****************************************************************************** /******************************************************************************
* *
* Module Name: utalloc - local cache and memory allocation routines * Module Name: utalloc - local cache and memory allocation routines
* $Revision: 1.125 $ * $Revision: 1.127 $
* *
*****************************************************************************/ *****************************************************************************/
@ -468,7 +468,7 @@ AcpiUtAllocate (
/* Report allocation error */ /* Report allocation error */
_ACPI_REPORT_ERROR (Module, Line, Component, _ACPI_REPORT_ERROR (Module, Line, Component,
("UtAllocate: Could not allocate size %X\n", Size)); ("UtAllocate: Could not allocate size %X\n", (UINT32) Size));
return_PTR (NULL); return_PTR (NULL);
} }
@ -520,7 +520,7 @@ AcpiUtCallocate (
/* Report allocation error */ /* Report allocation error */
_ACPI_REPORT_ERROR (Module, Line, Component, _ACPI_REPORT_ERROR (Module, Line, Component,
("UtCallocate: Could not allocate size %X\n", Size)); ("UtCallocate: Could not allocate size %X\n", (UINT32) Size));
return_PTR (NULL); return_PTR (NULL);
} }
@ -625,7 +625,7 @@ AcpiUtCallocateAndTrack (
/* Report allocation error */ /* Report allocation error */
_ACPI_REPORT_ERROR (Module, Line, Component, _ACPI_REPORT_ERROR (Module, Line, Component,
("UtCallocate: Could not allocate size %X\n", Size)); ("UtCallocate: Could not allocate size %X\n", (UINT32) Size));
return (NULL); return (NULL);
} }
@ -1032,13 +1032,13 @@ AcpiUtDumpAllocations (
switch (ACPI_GET_DESCRIPTOR_TYPE (Descriptor)) switch (ACPI_GET_DESCRIPTOR_TYPE (Descriptor))
{ {
case ACPI_DESC_TYPE_OPERAND: case ACPI_DESC_TYPE_OPERAND:
AcpiOsPrintf ("ObjType %12.12s R%d", AcpiOsPrintf ("ObjType %12.12s R%hd",
AcpiUtGetTypeName (Descriptor->Object.Common.Type), AcpiUtGetTypeName (Descriptor->Object.Common.Type),
Descriptor->Object.Common.ReferenceCount); Descriptor->Object.Common.ReferenceCount);
break; break;
case ACPI_DESC_TYPE_PARSER: case ACPI_DESC_TYPE_PARSER:
AcpiOsPrintf ("ParseObj AmlOpcode %04X", AcpiOsPrintf ("ParseObj AmlOpcode %04hX",
Descriptor->Op.Asl.AmlOpcode); Descriptor->Op.Asl.AmlOpcode);
break; break;