Browse Source

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>
Bob Moore 7 years ago
parent
commit
83b2fa943b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/acpi/acpica/acapps.h

+ 2 - 0
drivers/acpi/acpica/acapps.h

@@ -143,6 +143,8 @@ acpi_status
 fl_split_input_pathname(char *input_path,
 fl_split_input_pathname(char *input_path,
 			char **out_directory_path, char **out_filename);
 			char **out_directory_path, char **out_filename);
 
 
+char *fl_get_file_basename(char *file_pathname);
+
 char *ad_generate_filename(char *prefix, char *table_id);
 char *ad_generate_filename(char *prefix, char *table_id);
 
 
 void
 void