diff options
author | Bob Moore <robert.moore@intel.com> | 2015-12-29 06:55:05 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-01 03:47:34 +0100 |
commit | 395ec731969c4bb0cc379a64809a5adab51126dd (patch) | |
tree | cd6d83224460afae0e5f204737a929de3c15a53e /drivers/acpi/acpica/acapps.h | |
parent | ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file (diff) | |
download | linux-395ec731969c4bb0cc379a64809a5adab51126dd.tar.xz linux-395ec731969c4bb0cc379a64809a5adab51126dd.zip |
ACPICA: iasl/acpiexec: Update input file handling and verification
ACPICA commit 3a6f2a516dd35a4daacbc5b5144d1db763ff2cb0
Improve and cleanup verification of ACPI tables within input files.
Share more code between the disassembler and acpiexec.
This patch only affects application debugger commands, thus it is a
no-op chage for Linux kernel.
Link: https://github.com/acpica/acpica/commit/3a6f2a51
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/acapps.h')
-rw-r--r-- | drivers/acpi/acpica/acapps.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/acapps.h b/drivers/acpi/acpica/acapps.h index 185c2eb78bf9..340350f55ea9 100644 --- a/drivers/acpi/acpica/acapps.h +++ b/drivers/acpi/acpica/acapps.h @@ -95,9 +95,13 @@ /* acfileio */ acpi_status -acpi_ac_get_all_tables_from_file(char *filename, - u8 get_only_aml_tables, - struct acpi_new_table_desc **return_list_head); +ac_get_all_tables_from_file(char *filename, + u8 get_only_aml_tables, + struct acpi_new_table_desc **return_list_head); + +u8 ac_is_file_binary(FILE * file); + +acpi_status ac_validate_table_header(FILE * file, long table_offset); /* Values for get_only_aml_tables */ |