diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-10-09 22:39:32 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-10-20 18:39:39 -0400 |
commit | f1b697525d5428856eaba2be2ee6dc1cf3efbbbe (patch) | |
tree | b6c073084c0e3c9fb9332e549eaca14110795619 /tools | |
parent | 5f8b35b6330db14d15fb385cc7b2ccca53dc323e (diff) |
ACPICA: acpidump: Add ACPI 1.0 RSDP support.
The acpidump currently always uses ACPI 2.0 format to dump RSDP, this patch
adds ACPI 1.0 RSDP support.
Link: https://bugs.acpica.org/show_bug.cgi?id=1097
Link: https://bugs.acpica.org/show_bug.cgi?id=1103
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reported-and-tested-by: Rudolf Marek <r.marek@assembler.cz>
Reported-and-tested-by: Rafal <fatwildcat@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/power/acpi/tools/acpidump/apdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/acpi/tools/acpidump/apdump.c b/tools/power/acpi/tools/acpidump/apdump.c index 53cee781e24e..24d32968802d 100644 --- a/tools/power/acpi/tools/acpidump/apdump.c +++ b/tools/power/acpi/tools/acpidump/apdump.c | |||
@@ -146,7 +146,7 @@ u32 ap_get_table_length(struct acpi_table_header *table) | |||
146 | 146 | ||
147 | if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { | 147 | if (ACPI_VALIDATE_RSDP_SIG(table->signature)) { |
148 | rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); | 148 | rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); |
149 | return (rsdp->length); | 149 | return (acpi_tb_get_rsdp_length(rsdp)); |
150 | } | 150 | } |
151 | 151 | ||
152 | /* Normal ACPI table */ | 152 | /* Normal ACPI table */ |