summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/dbcmds.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-10-04 20:07:58 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-10-04 20:07:58 +0000
commit3b2a4f1cbea5e9139e6d4710e31efedef37247ac (patch)
tree95e2e8a70dc361cf34d6a4c080313e68541ea4aa /sys/contrib/dev/acpica/dbcmds.c
parent1824f192010fc0c0826e9889892e534075b58793 (diff)
downloadFreeBSD-src-3b2a4f1cbea5e9139e6d4710e31efedef37247ac.zip
FreeBSD-src-3b2a4f1cbea5e9139e6d4710e31efedef37247ac.tar.gz
Vendor import of the Intel ACPI CA 20021002 drop.
Diffstat (limited to 'sys/contrib/dev/acpica/dbcmds.c')
-rw-r--r--sys/contrib/dev/acpica/dbcmds.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/dbcmds.c b/sys/contrib/dev/acpica/dbcmds.c
index d8c2d3e..af122aa 100644
--- a/sys/contrib/dev/acpica/dbcmds.c
+++ b/sys/contrib/dev/acpica/dbcmds.c
@@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbcmds - debug commands and output routines
- * $Revision: 87 $
+ * $Revision: 88 $
*
******************************************************************************/
@@ -283,7 +283,8 @@ AcpiDbDisplayTableInfo (
if (AcpiGbl_AcpiTables[i].Pointer)
{
AcpiOsPrintf ("%s at %p length %X\n", AcpiGbl_AcpiTableData[i].Name,
- AcpiGbl_AcpiTables[i].Pointer, AcpiGbl_AcpiTables[i].Length);
+ AcpiGbl_AcpiTables[i].Pointer,
+ (UINT32) AcpiGbl_AcpiTables[i].Length);
}
}
}
@@ -783,7 +784,7 @@ AcpiDbWalkForSpecificObjects (
return (AE_OK);
}
- AcpiOsPrintf ("%32s", Buffer.Pointer);
+ AcpiOsPrintf ("%32s", (char *) Buffer.Pointer);
ACPI_MEM_FREE (Buffer.Pointer);
@@ -794,11 +795,14 @@ AcpiDbWalkForSpecificObjects (
switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
{
case ACPI_TYPE_METHOD:
- AcpiOsPrintf (" #Args %d Concurrency %X", ObjDesc->Method.ParamCount, ObjDesc->Method.Concurrency);
+ AcpiOsPrintf (" #Args %d Concurrency %X",
+ ObjDesc->Method.ParamCount, ObjDesc->Method.Concurrency);
break;
case ACPI_TYPE_INTEGER:
- AcpiOsPrintf (" Value %X", ObjDesc->Integer.Value);
+ AcpiOsPrintf (" Value %8.8X%8.8X",
+ ACPI_HIDWORD (ObjDesc->Integer.Value),
+ ACPI_LODWORD (ObjDesc->Integer.Value));
break;
case ACPI_TYPE_STRING:
@@ -806,7 +810,11 @@ AcpiDbWalkForSpecificObjects (
break;
case ACPI_TYPE_REGION:
- AcpiOsPrintf (" SpaceId %X Address %X Length %X", ObjDesc->Region.SpaceId, ObjDesc->Region.Address, ObjDesc->Region.Length);
+ AcpiOsPrintf (" SpaceId %X Length %X Address %8.8X%8.8X",
+ ObjDesc->Region.SpaceId,
+ ObjDesc->Region.Length,
+ ACPI_HIDWORD (ObjDesc->Region.Address),
+ ACPI_LODWORD (ObjDesc->Region.Address));
break;
case ACPI_TYPE_PACKAGE:
@@ -926,7 +934,7 @@ AcpiDbWalkAndMatchName (
}
else
{
- AcpiOsPrintf ("%32s (%p) - %s\n", Buffer.Pointer, ObjHandle,
+ AcpiOsPrintf ("%32s (%p) - %s\n", (char *) Buffer.Pointer, ObjHandle,
AcpiUtGetTypeName (((ACPI_NAMESPACE_NODE *) ObjHandle)->Type));
ACPI_MEM_FREE (Buffer.Pointer);
}
OpenPOWER on IntegriCloud