Deleted Added
full compact
dsinit.c (117521) dsinit.c (123315)
1/******************************************************************************
2 *
3 * Module Name: dsinit - Object initialization namespace walk
1/******************************************************************************
2 *
3 * Module Name: dsinit - Object initialization namespace walk
4 * $Revision: 7 $
4 * $Revision: 9 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.

--- 165 unchanged lines hidden (view full) ---

178 switch (Type)
179 {
180 case ACPI_TYPE_REGION:
181
182 Status = AcpiDsInitializeRegion (ObjHandle);
183 if (ACPI_FAILURE (Status))
184 {
185 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Region %p [%4.4s] - Init failure, %s\n",
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.

--- 165 unchanged lines hidden (view full) ---

178 switch (Type)
179 {
180 case ACPI_TYPE_REGION:
181
182 Status = AcpiDsInitializeRegion (ObjHandle);
183 if (ACPI_FAILURE (Status))
184 {
185 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Region %p [%4.4s] - Init failure, %s\n",
186 ObjHandle, ((ACPI_NAMESPACE_NODE *) ObjHandle)->Name.Ascii,
186 ObjHandle, AcpiUtGetNodeName (ObjHandle),
187 AcpiFormatException (Status)));
188 }
189
190 Info->OpRegionCount++;
191 break;
192
193
194 case ACPI_TYPE_METHOD:

--- 14 unchanged lines hidden (view full) ---

209 * on a per-table basis. Currently, we just use a global for the width.
210 */
211 if (Info->TableDesc->Pointer->Revision == 1)
212 {
213 ((ACPI_NAMESPACE_NODE *) ObjHandle)->Flags |= ANOBJ_DATA_WIDTH_32;
214 }
215
216 /*
187 AcpiFormatException (Status)));
188 }
189
190 Info->OpRegionCount++;
191 break;
192
193
194 case ACPI_TYPE_METHOD:

--- 14 unchanged lines hidden (view full) ---

209 * on a per-table basis. Currently, we just use a global for the width.
210 */
211 if (Info->TableDesc->Pointer->Revision == 1)
212 {
213 ((ACPI_NAMESPACE_NODE *) ObjHandle)->Flags |= ANOBJ_DATA_WIDTH_32;
214 }
215
216 /*
217 * Always parse methods to detect errors, we may delete
217 * Always parse methods to detect errors, we will delete
218 * the parse tree below
219 */
220 Status = AcpiDsParseMethod (ObjHandle);
221 if (ACPI_FAILURE (Status))
222 {
223 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Method %p [%4.4s] - parse failure, %s\n",
218 * the parse tree below
219 */
220 Status = AcpiDsParseMethod (ObjHandle);
221 if (ACPI_FAILURE (Status))
222 {
223 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Method %p [%4.4s] - parse failure, %s\n",
224 ObjHandle, ((ACPI_NAMESPACE_NODE *) ObjHandle)->Name.Ascii,
224 ObjHandle, AcpiUtGetNodeName (ObjHandle),
225 AcpiFormatException (Status)));
226
227 /* This parse failed, but we will continue parsing more methods */
228
229 break;
230 }
231
232 /*
225 AcpiFormatException (Status)));
226
227 /* This parse failed, but we will continue parsing more methods */
228
229 break;
230 }
231
232 /*
233 * Delete the parse tree. We simple re-parse the method
233 * Delete the parse tree. We simply re-parse the method
234 * for every execution since there isn't much overhead
235 */
236 AcpiNsDeleteNamespaceSubtree (ObjHandle);
237 AcpiNsDeleteNamespaceByOwner (((ACPI_NAMESPACE_NODE *) ObjHandle)->Object->Method.OwningId);
238 break;
239
240
241 case ACPI_TYPE_DEVICE:

--- 75 unchanged lines hidden ---
234 * for every execution since there isn't much overhead
235 */
236 AcpiNsDeleteNamespaceSubtree (ObjHandle);
237 AcpiNsDeleteNamespaceByOwner (((ACPI_NAMESPACE_NODE *) ObjHandle)->Object->Method.OwningId);
238 break;
239
240
241 case ACPI_TYPE_DEVICE:

--- 75 unchanged lines hidden ---