diff options
Diffstat (limited to 'sys/contrib/dev/acpica/dbutils.c')
-rw-r--r-- | sys/contrib/dev/acpica/dbutils.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/dbutils.c b/sys/contrib/dev/acpica/dbutils.c index 06cf8f8754ba8..2ca67c4adb00e 100644 --- a/sys/contrib/dev/acpica/dbutils.c +++ b/sys/contrib/dev/acpica/dbutils.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dbutils - AML debugger utilities - * $Revision: 39 $ + * $Revision: 41 $ * ******************************************************************************/ @@ -185,7 +185,7 @@ AcpiDbDumpBuffer ( AcpiOsPrintf ("\nLocation %X:\n", Address); - AcpiDbgLevel |= TRACE_TABLES; + AcpiDbgLevel |= ACPI_LV_TABLES; AcpiUtDumpBuffer ((UINT8 *) Address, 64, DB_BYTE_DISPLAY, ACPI_UINT32_MAX); } @@ -226,12 +226,14 @@ AcpiDbDumpObject ( { case ACPI_TYPE_ANY: - AcpiOsPrintf ("[Object Reference] Value: %p\n", ObjDesc->Reference.Handle); + AcpiOsPrintf ("[Object Reference] = %p\n", ObjDesc->Reference.Handle); break; case ACPI_TYPE_INTEGER: - AcpiOsPrintf ("[Number] Value: %ld (%lX)\n", ObjDesc->Integer.Value, ObjDesc->Integer.Value); + + AcpiOsPrintf ("[Integer] = %X%8.8X\n", HIDWORD (ObjDesc->Integer.Value), + LODWORD (ObjDesc->Integer.Value)); break; @@ -248,7 +250,7 @@ AcpiDbDumpObject ( case ACPI_TYPE_BUFFER: - AcpiOsPrintf ("[Buffer] Value: "); + AcpiOsPrintf ("[Buffer] = "); AcpiUtDumpBuffer ((UINT8 *) ObjDesc->Buffer.Pointer, ObjDesc->Buffer.Length, DB_DWORD_DISPLAY, _COMPONENT); break; @@ -265,17 +267,23 @@ AcpiDbDumpObject ( case INTERNAL_TYPE_REFERENCE: - AcpiOsPrintf ("[Object Reference] Value: %p\n", ObjDesc->Reference.Handle); + + AcpiOsPrintf ("[Object Reference] = %p\n", ObjDesc->Reference.Handle); break; + case ACPI_TYPE_PROCESSOR: + AcpiOsPrintf ("[Processor]\n"); break; + case ACPI_TYPE_POWER: + AcpiOsPrintf ("[Power Resource]\n"); break; + default: AcpiOsPrintf ("[Unknown Type] %X \n", ObjDesc->Type); |