diff options
author | Bob Moore <robert.moore@intel.com> | 2018-05-08 17:06:07 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-15 04:16:10 -0400 |
commit | 83b2fa943ba8385662d712b1dd92faeade669739 (patch) | |
tree | 8149b2dd8c4e3a67453a9a10aa7f0e34f3fb6887 | |
parent | e637d32641ddfe4ff2a00d6577adc99be14eebc2 (diff) |
ACPICA: iASL: Enhance the -tc option (create AML hex file in C)
This change improves the -tc option by:
1) Creates a unique symbol for the hex table, to simplify
creation of multiple tables (DSDT/SSDT).
2) Adds a protection #ifdef, similar to a .h file.
With assistance from:
Sami Mujawar, sami.mujawar@arm.com
Evan Lloyd, evan.lloyd@arm.com
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>
-rw-r--r-- | drivers/acpi/acpica/acapps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acapps.h b/drivers/acpi/acpica/acapps.h index a2a85122fafe..5a9c2febc0fb 100644 --- a/drivers/acpi/acpica/acapps.h +++ b/drivers/acpi/acpica/acapps.h | |||
@@ -143,6 +143,8 @@ acpi_status | |||
143 | fl_split_input_pathname(char *input_path, | 143 | fl_split_input_pathname(char *input_path, |
144 | char **out_directory_path, char **out_filename); | 144 | char **out_directory_path, char **out_filename); |
145 | 145 | ||
146 | char *fl_get_file_basename(char *file_pathname); | ||
147 | |||
146 | char *ad_generate_filename(char *prefix, char *table_id); | 148 | char *ad_generate_filename(char *prefix, char *table_id); |
147 | 149 | ||
148 | void | 150 | void |