mirror of
https://github.com/acpica/acpica/
synced 2025-01-27 03:42:04 +03:00
AcpiBin: Fix for the dump-to-hex function.
Now correctly output the table name header so that AcpiXtract recognizes the output file/table.
This commit is contained in:
parent
898b052723
commit
dbfa50ac62
@ -708,7 +708,9 @@ AbDumpAmlFile (
|
|||||||
AcpiGbl_DebugFile = FileOutHandle;
|
AcpiGbl_DebugFile = FileOutHandle;
|
||||||
AcpiGbl_DbOutputFlags = ACPI_DB_REDIRECTABLE_OUTPUT;
|
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;
|
AcpiDbgLevel = ACPI_UINT32_MAX;
|
||||||
AcpiUtDebugDumpBuffer ((UINT8 *) FileBuffer, FileSize,
|
AcpiUtDebugDumpBuffer ((UINT8 *) FileBuffer, FileSize,
|
||||||
DB_BYTE_DISPLAY, ACPI_UINT32_MAX);
|
DB_BYTE_DISPLAY, ACPI_UINT32_MAX);
|
||||||
@ -722,7 +724,7 @@ AbDumpAmlFile (
|
|||||||
* FUNCTION: AbExtractAmlFile
|
* FUNCTION: AbExtractAmlFile
|
||||||
*
|
*
|
||||||
* DESCRIPTION: Extract a binary AML file from a text file (as produced by the
|
* 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.
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user