return_ACPI_STATUS(status);
}
- /* Complete the initialization/resolution of new objects */
+ /* Complete the initialization/resolution of package objects */
- acpi_ns_initialize_objects();
+ status = acpi_ns_walk_namespace(ACPI_TYPE_PACKAGE, ACPI_ROOT_OBJECT,
+ ACPI_UINT32_MAX, 0,
+ acpi_ns_init_one_package, NULL, NULL,
+ NULL);
/* Parameter Data (optional) */
return_ACPI_STATUS(status);
}
- /* Complete the initialization/resolution of new objects */
+ /* Complete the initialization/resolution of package objects */
- acpi_ex_exit_interpreter();
- acpi_ns_initialize_objects();
- acpi_ex_enter_interpreter();
+ status = acpi_ns_walk_namespace(ACPI_TYPE_PACKAGE, ACPI_ROOT_OBJECT,
+ ACPI_UINT32_MAX, 0,
+ acpi_ns_init_one_package, NULL, NULL,
+ NULL);
/* Store the ddb_handle into the Target operand */
status = acpi_tb_install_and_load_table(ACPI_PTR_TO_PHYSADDR(table),
ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL,
FALSE, &table_index);
- if (ACPI_SUCCESS(status)) {
- /* Complete the initialization/resolution of new objects */
+ if (ACPI_SUCCESS(status)) {
+ /* Complete the initialization/resolution of package objects */
- acpi_ns_initialize_objects();
+ status = acpi_ns_walk_namespace(ACPI_TYPE_PACKAGE,
+ ACPI_ROOT_OBJECT,
+ ACPI_UINT32_MAX, 0,
+ acpi_ns_init_one_package,
+ NULL, NULL, NULL);
}
return_ACPI_STATUS(status);