Deleted Added
full compact
349a350,356
> if (Method->Type != ACPI_TYPE_METHOD)
> {
> ACPI_ERROR ((AE_INFO, "%s (%s): Object must be a control method",
> Name, AcpiUtGetTypeName (Method->Type)));
> return (AE_BAD_PARAMETER);
> }
>
367,368c374,375
< ObjDesc->Method.AmlStart,
< ObjDesc->Method.AmlLength, NULL, ACPI_IMODE_LOAD_PASS1);
---
> ObjDesc->Method.AmlStart,
> ObjDesc->Method.AmlLength, NULL, ACPI_IMODE_LOAD_PASS1);
374c381,382
< /* Parse the AML */
---
> Status = AcpiUtAllocateOwnerId (&ObjDesc->Method.OwnerId);
> WalkState->OwnerId = ObjDesc->Method.OwnerId;
375a384,394
> /* Push start scope on scope stack and make it current */
>
> Status = AcpiDsScopeStackPush (Method,
> Method->Type, WalkState);
> if (ACPI_FAILURE (Status))
> {
> return (Status);
> }
>
> /* Parse the entire method AML including deferred operators */
>
377a397
>
378a399
> AcpiDmParseDeferredOps (Op);
379a401,403
> /* Now we can disassemble the method */
>
> AcpiGbl_DbOpt_verbose = FALSE;
382a407,408
> AcpiGbl_DbOpt_verbose = TRUE;
>
383a410,415
>
> /* Method cleanup */
>
> AcpiNsDeleteNamespaceSubtree (Method);
> AcpiNsDeleteNamespaceByOwner (ObjDesc->Method.OwnerId);
> AcpiUtReleaseOwnerId (&ObjDesc->Method.OwnerId);