瀏覽代碼

ACPICA: acpidump/acpixtract: Support for tables larger than 1MB

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>
Bob Moore 7 年之前
父節點
當前提交
57b758ca4e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/acpi/acpica/utbuffer.c

+ 2 - 2
drivers/acpi/acpica/utbuffer.c

@@ -53,7 +53,7 @@ void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset)
 
 
 		/* Print current offset */
 		/* Print current offset */
 
 
-		acpi_os_printf("%6.4X: ", (base_offset + i));
+		acpi_os_printf("%8.4X: ", (base_offset + i));
 
 
 		/* Print 16 hex chars */
 		/* Print 16 hex chars */
 
 
@@ -219,7 +219,7 @@ acpi_ut_dump_buffer_to_file(ACPI_FILE file,
 
 
 		/* Print current offset */
 		/* Print current offset */
 
 
-		fprintf(file, "%6.4X: ", (base_offset + i));
+		fprintf(file, "%8.4X: ", (base_offset + i));
 
 
 		/* Print 16 hex chars */
 		/* Print 16 hex chars */