diff options
author | Bob Moore <robert.moore@intel.com> | 2013-07-16 21:48:27 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-22 19:06:49 -0400 |
commit | 57987ca2b7c3b16aeeaeacb69b52372181cb7c58 (patch) | |
tree | 11b35965479d643ea8bb5649631a29b6fdb55d46 /drivers | |
parent | a7d5caf6d21814a855422df75c2d8c093cb2019a (diff) |
ACPICA: TableManager: Export acpi_tb_scan_memory_for_rsdp()
This patch exports this function to be used by other ACPICA utilities.
Chao Guan, Bob Moore.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/acpica/actables.h | 5 | ||||
-rw-r--r-- | drivers/acpi/acpica/tbxfroot.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/actables.h b/drivers/acpi/acpica/actables.h index 7755e915a007..917315ec21dd 100644 --- a/drivers/acpi/acpica/actables.h +++ b/drivers/acpi/acpica/actables.h | |||
@@ -47,6 +47,11 @@ | |||
47 | acpi_status acpi_allocate_root_table(u32 initial_table_count); | 47 | acpi_status acpi_allocate_root_table(u32 initial_table_count); |
48 | 48 | ||
49 | /* | 49 | /* |
50 | * tbxfroot - Root pointer utilities | ||
51 | */ | ||
52 | u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length); | ||
53 | |||
54 | /* | ||
50 | * tbfadt - FADT parse/convert/validate | 55 | * tbfadt - FADT parse/convert/validate |
51 | */ | 56 | */ |
52 | void acpi_tb_parse_fadt(u32 table_index); | 57 | void acpi_tb_parse_fadt(u32 table_index); |
diff --git a/drivers/acpi/acpica/tbxfroot.c b/drivers/acpi/acpica/tbxfroot.c index 7c2ecfb7c2c3..e76ed0f07826 100644 --- a/drivers/acpi/acpica/tbxfroot.c +++ b/drivers/acpi/acpica/tbxfroot.c | |||
@@ -49,8 +49,6 @@ | |||
49 | ACPI_MODULE_NAME("tbxfroot") | 49 | ACPI_MODULE_NAME("tbxfroot") |
50 | 50 | ||
51 | /* Local prototypes */ | 51 | /* Local prototypes */ |
52 | static u8 *acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length); | ||
53 | |||
54 | static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp); | 52 | static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp); |
55 | 53 | ||
56 | /******************************************************************************* | 54 | /******************************************************************************* |
@@ -231,7 +229,7 @@ acpi_status acpi_find_root_pointer(acpi_size *table_address) | |||
231 | * DESCRIPTION: Search a block of memory for the RSDP signature | 229 | * DESCRIPTION: Search a block of memory for the RSDP signature |
232 | * | 230 | * |
233 | ******************************************************************************/ | 231 | ******************************************************************************/ |
234 | static u8 *acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length) | 232 | u8 *acpi_tb_scan_memory_for_rsdp(u8 *start_address, u32 length) |
235 | { | 233 | { |
236 | acpi_status status; | 234 | acpi_status status; |
237 | u8 *mem_rover; | 235 | u8 *mem_rover; |