Commit d7da1794 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki

ACPICA: Table print header function: Increase default width for table length.

This change increases the default width for the length of tables from
5 to 6, to improve alignment/readability on systems with large tables.
These are being seen more frequently, especially large DSDTs (greater
than 1 MB).
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLv Zheng <lv.zheng@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 1b673f23
...@@ -135,7 +135,7 @@ acpi_tb_print_table_header(acpi_physical_address address, ...@@ -135,7 +135,7 @@ acpi_tb_print_table_header(acpi_physical_address address,
/* FACS only has signature and length fields */ /* FACS only has signature and length fields */
ACPI_INFO((AE_INFO, "%4.4s %p %05X", ACPI_INFO((AE_INFO, "%4.4s %p %06X",
header->signature, ACPI_CAST_PTR(void, address), header->signature, ACPI_CAST_PTR(void, address),
header->length)); header->length));
} else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) { } else if (ACPI_VALIDATE_RSDP_SIG(header->signature)) {
...@@ -147,7 +147,7 @@ acpi_tb_print_table_header(acpi_physical_address address, ...@@ -147,7 +147,7 @@ acpi_tb_print_table_header(acpi_physical_address address,
header)->oem_id, ACPI_OEM_ID_SIZE); header)->oem_id, ACPI_OEM_ID_SIZE);
acpi_tb_fix_string(local_header.oem_id, ACPI_OEM_ID_SIZE); acpi_tb_fix_string(local_header.oem_id, ACPI_OEM_ID_SIZE);
ACPI_INFO((AE_INFO, "RSDP %p %05X (v%.2d %6.6s)", ACPI_INFO((AE_INFO, "RSDP %p %06X (v%.2d %6.6s)",
ACPI_CAST_PTR(void, address), ACPI_CAST_PTR(void, address),
(ACPI_CAST_PTR(struct acpi_table_rsdp, header)-> (ACPI_CAST_PTR(struct acpi_table_rsdp, header)->
revision > revision >
...@@ -162,7 +162,7 @@ acpi_tb_print_table_header(acpi_physical_address address, ...@@ -162,7 +162,7 @@ acpi_tb_print_table_header(acpi_physical_address address,
acpi_tb_cleanup_table_header(&local_header, header); acpi_tb_cleanup_table_header(&local_header, header);
ACPI_INFO((AE_INFO, ACPI_INFO((AE_INFO,
"%4.4s %p %05X (v%.2d %6.6s %8.8s %08X %4.4s %08X)", "%4.4s %p %06X (v%.2d %6.6s %8.8s %08X %4.4s %08X)",
local_header.signature, ACPI_CAST_PTR(void, address), local_header.signature, ACPI_CAST_PTR(void, address),
local_header.length, local_header.revision, local_header.length, local_header.revision,
local_header.oem_id, local_header.oem_table_id, local_header.oem_id, local_header.oem_table_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment