| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: utxfinit - External interfaces for ACPICA initialization |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 211 | 211 | |
|---|
| 212 | 212 | ACPI_FUNCTION_TRACE(acpi_initialize_objects); |
|---|
| 213 | 213 | |
|---|
| 214 | +#ifdef ACPI_OBSOLETE_BEHAVIOR |
|---|
| 214 | 215 | /* |
|---|
| 215 | | - * This case handles the legacy option that groups all module-level |
|---|
| 216 | | - * code blocks together and defers execution until all of the tables |
|---|
| 217 | | - * are loaded. Execute all of these blocks at this time. |
|---|
| 218 | | - * Execute any module-level code that was detected during the table |
|---|
| 219 | | - * load phase. |
|---|
| 220 | | - * |
|---|
| 221 | | - * Note: this option is deprecated and will be eliminated in the |
|---|
| 222 | | - * future. Use of this option can cause problems with AML code that |
|---|
| 223 | | - * depends upon in-order immediate execution of module-level code. |
|---|
| 216 | + * 05/2019: Removed, initialization now happens at both object |
|---|
| 217 | + * creation and table load time |
|---|
| 224 | 218 | */ |
|---|
| 225 | | - acpi_ns_exec_module_code_list(); |
|---|
| 226 | 219 | |
|---|
| 227 | 220 | /* |
|---|
| 228 | 221 | * Initialize the objects that remain uninitialized. This |
|---|
| 229 | 222 | * runs the executable AML that may be part of the |
|---|
| 230 | | - * declaration of these objects: |
|---|
| 231 | | - * operation_regions, buffer_fields, Buffers, and Packages. |
|---|
| 223 | + * declaration of these objects: operation_regions, buffer_fields, |
|---|
| 224 | + * bank_fields, Buffers, and Packages. |
|---|
| 232 | 225 | */ |
|---|
| 233 | 226 | if (!(flags & ACPI_NO_OBJECT_INIT)) { |
|---|
| 234 | 227 | status = acpi_ns_initialize_objects(); |
|---|
| .. | .. |
|---|
| 236 | 229 | return_ACPI_STATUS(status); |
|---|
| 237 | 230 | } |
|---|
| 238 | 231 | } |
|---|
| 232 | +#endif |
|---|
| 239 | 233 | |
|---|
| 240 | 234 | /* |
|---|
| 241 | 235 | * Initialize all device/region objects in the namespace. This runs |
|---|