summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2012-11-08 13:51:05 -0800
committerRobert Moore <Robert.Moore@intel.com>2012-11-08 13:51:05 -0800
commitdbfa50ac623383dfee57b7b566e1bb355e60075e (patch)
tree8dde671edd4145abb84dc4a68ad3d54ce7bb5657
parent898b052723f64eff49cde99e337b5350e96fa8c8 (diff)
downloadacpica-dbfa50ac623383dfee57b7b566e1bb355e60075e.tar.gz
AcpiBin: Fix for the dump-to-hex function.
Now correctly output the table name header so that AcpiXtract recognizes the output file/table.
-rw-r--r--source/tools/acpibin/abcompare.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/tools/acpibin/abcompare.c b/source/tools/acpibin/abcompare.c
index d221ba525..b12b31d92 100644
--- a/source/tools/acpibin/abcompare.c
+++ b/source/tools/acpibin/abcompare.c
@@ -708,7 +708,9 @@ AbDumpAmlFile (
AcpiGbl_DebugFile = FileOutHandle;
AcpiGbl_DbOutputFlags = ACPI_DB_REDIRECTABLE_OUTPUT;
- AcpiOsPrintf ("%4.4s\n", ((ACPI_TABLE_HEADER *) FileBuffer)->Signature);
+ AcpiOsPrintf ("%4.4s @ 0x%8.8X\n",
+ ((ACPI_TABLE_HEADER *) FileBuffer)->Signature, 0);
+
AcpiDbgLevel = ACPI_UINT32_MAX;
AcpiUtDebugDumpBuffer ((UINT8 *) FileBuffer, FileSize,
DB_BYTE_DISPLAY, ACPI_UINT32_MAX);
@@ -722,7 +724,7 @@ AbDumpAmlFile (
* FUNCTION: AbExtractAmlFile
*
* DESCRIPTION: Extract a binary AML file from a text file (as produced by the
- * DumpAmlFile procedure or the "acpidmp" table utility.
+ * DumpAmlFile procedure or the "acpidump" table utility.
*
******************************************************************************/