nsinit.c (4e73e0eb633f8a1b5cbf20e7f42c6dbfec1d1ca7) | nsinit.c (9e64155eb1b6ab78980db58cfd21385fa5f6b024) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: nsinit - namespace initialization 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2008, Intel Corp. --- 156 unchanged lines hidden (view full) --- 165 166 info.evaluate_info = 167 ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_evaluate_info)); 168 if (!info.evaluate_info) { 169 status = AE_NO_MEMORY; 170 goto error_exit; 171 } 172 | 1/****************************************************************************** 2 * 3 * Module Name: nsinit - namespace initialization 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2008, Intel Corp. --- 156 unchanged lines hidden (view full) --- 165 166 info.evaluate_info = 167 ACPI_ALLOCATE_ZEROED(sizeof(struct acpi_evaluate_info)); 168 if (!info.evaluate_info) { 169 status = AE_NO_MEMORY; 170 goto error_exit; 171 } 172 |
173 /* 174 * Execute the "global" _INI method that may appear at the root. This 175 * support is provided for Windows compatibility (Vista+) and is not 176 * part of the ACPI specification. 177 */ 178 info.evaluate_info->prefix_node = acpi_gbl_root_node; 179 info.evaluate_info->pathname = METHOD_NAME__INI; 180 info.evaluate_info->parameters = NULL; 181 info.evaluate_info->flags = ACPI_IGNORE_RETURN_VALUE; 182 183 status = acpi_ns_evaluate(info.evaluate_info); 184 if (ACPI_SUCCESS(status)) { 185 info.num_INI++; 186 } 187 |
|
173 /* Walk namespace to execute all _INIs on present devices */ 174 175 status = acpi_ns_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, 176 ACPI_UINT32_MAX, FALSE, 177 acpi_ns_init_one_device, &info, NULL); 178 179 ACPI_FREE(info.evaluate_info); 180 if (ACPI_FAILURE(status)) { --- 414 unchanged lines hidden --- | 188 /* Walk namespace to execute all _INIs on present devices */ 189 190 status = acpi_ns_walk_namespace(ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, 191 ACPI_UINT32_MAX, FALSE, 192 acpi_ns_init_one_device, &info, NULL); 193 194 ACPI_FREE(info.evaluate_info); 195 if (ACPI_FAILURE(status)) { --- 414 unchanged lines hidden --- |