Skip to content

Commit

Permalink
ACPICA: acpidump/acpixtract: Support for tables larger than 1MB
Browse files Browse the repository at this point in the history
acpidump: Expand the table offset field to 32 bits.
acpixtract: Add support to handle the expanded field.

Backwards compatibility is maintained.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed May 18, 2018
1 parent ec5cd31 commit 57b758c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/acpica/utbuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset)

/* Print current offset */

acpi_os_printf("%6.4X: ", (base_offset + i));
acpi_os_printf("%8.4X: ", (base_offset + i));

/* Print 16 hex chars */

Expand Down Expand Up @@ -219,7 +219,7 @@ acpi_ut_dump_buffer_to_file(ACPI_FILE file,

/* Print current offset */

fprintf(file, "%6.4X: ", (base_offset + i));
fprintf(file, "%8.4X: ", (base_offset + i));

/* Print 16 hex chars */

Expand Down

0 comments on commit 57b758c

Please sign in to comment.