diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-10-17 18:41:20 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-10-18 03:17:04 -0400 |
commit | 08930d56c76a69716ba56eb111379a559a9b9f42 (patch) | |
tree | a05faf18aea0bcb4dc6fa8fb3851194a13bbb110 /include/acpi/acpixf.h | |
parent | c64baa3a6fa207d112706bc5e7fd645cd8a8663f (diff) |
ACPICA: Remove acpi_gbl_group_module_level_code and only use acpi_gbl_execute_tables_as_methods instead
acpi_gbl_group_module_level_code and acpi_gbl_execute_tables_as_methods were
used to enable different table load behavior. The different table
load behaviors are as follows:
A.) acpi_gbl_group_module_level_code enabled the legacy approach where
ASL if statements are executed after the namespace object has
been loaded.
B.) acpi_gbl_execute_tables_as_methods is currently used to enable the
table load to be a method invocation. This meaning that ASL If
statements are executed in-line rather than deferred until after
the ACPI namespace has been populated. This is the correct
behavior and option A will be removed in the future.
We do not support a table load behavior where these variables are
assigned the same value. In otherwords, we only support option A or B
and do not need acpi_gbl_group_module_level_code to enable A. From now on,
acpi_gbl_execute_tables_as_methods == 0 enables option A and
acpi_gbl_execute_tables_as_methods == 1 enables option B.
Note: option A is expected to be removed in the future and option B
will become the only supported table load behavior.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 73cc101510d8..0c19b68bf060 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -157,13 +157,6 @@ ACPI_INIT_GLOBAL(u8, acpi_gbl_copy_dsdt_locally, FALSE); | |||
157 | ACPI_INIT_GLOBAL(u8, acpi_gbl_do_not_use_xsdt, FALSE); | 157 | ACPI_INIT_GLOBAL(u8, acpi_gbl_do_not_use_xsdt, FALSE); |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Optionally support group module level code. | ||
161 | * NOTE, this is essentially obsolete and will be removed soon | ||
162 | * (01/2018). | ||
163 | */ | ||
164 | ACPI_INIT_GLOBAL(u8, acpi_gbl_group_module_level_code, FALSE); | ||
165 | |||
166 | /* | ||
167 | * Optionally support module level code by parsing an entire table as | 160 | * Optionally support module level code by parsing an entire table as |
168 | * a method as it is loaded. Default is TRUE. | 161 | * a method as it is loaded. Default is TRUE. |
169 | * NOTE, this is essentially obsolete and will be removed soon | 162 | * NOTE, this is essentially obsolete and will be removed soon |