523a524
> (OpInfo->ObjectType != ACPI_TYPE_LOCAL_ALIAS) &&
746,747c747,751
< if ((Op->Common.AmlOpcode == AML_ALIAS_OP) ||
< (Op->Common.AmlOpcode == AML_SCOPE_OP))
---
> /*
> * Only these two operators (Alias, Scope) refer to an existing
> * name, it is the first argument
> */
> if (Op->Common.AmlOpcode == AML_ALIAS_OP)
749,752c753,763
< /*
< * Only these two operators refer to an existing name,
< * first argument
< */
---
> ObjectType = ACPI_TYPE_ANY;
>
> NextOp = Op->Common.Value.Arg;
> NextOp = NextOp->Common.Value.Arg;
> if (NextOp->Common.AmlOpcode == AML_INT_NAMEPATH_OP)
> {
> Path = NextOp->Common.Value.String;
> }
> }
> else if (Op->Common.AmlOpcode == AML_SCOPE_OP)
> {
759a771,772
> ObjectType = ACPI_TYPE_BUFFER; /* Change from TYPE_BUFFER_FIELD */
>
785a799,803
> if (ACPI_SUCCESS (Status) && (Node->Flags & ANOBJ_IS_EXTERNAL))
> {
> Status = AE_NOT_FOUND;
> }
>
> (OpInfo->ObjectType != ACPI_TYPE_LOCAL_ALIAS) &&
746,747c747,751
< if ((Op->Common.AmlOpcode == AML_ALIAS_OP) ||
< (Op->Common.AmlOpcode == AML_SCOPE_OP))
---
> /*
> * Only these two operators (Alias, Scope) refer to an existing
> * name, it is the first argument
> */
> if (Op->Common.AmlOpcode == AML_ALIAS_OP)
749,752c753,763
< /*
< * Only these two operators refer to an existing name,
< * first argument
< */
---
> ObjectType = ACPI_TYPE_ANY;
>
> NextOp = Op->Common.Value.Arg;
> NextOp = NextOp->Common.Value.Arg;
> if (NextOp->Common.AmlOpcode == AML_INT_NAMEPATH_OP)
> {
> Path = NextOp->Common.Value.String;
> }
> }
> else if (Op->Common.AmlOpcode == AML_SCOPE_OP)
> {
759a771,772
> ObjectType = ACPI_TYPE_BUFFER; /* Change from TYPE_BUFFER_FIELD */
>
785a799,803
> if (ACPI_SUCCESS (Status) && (Node->Flags & ANOBJ_IS_EXTERNAL))
> {
> Status = AE_NOT_FOUND;
> }
>