From 33c583d0c71a12a703f849679505114e27bba011 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Mon, 26 Sep 2011 21:40:21 +0000 Subject: Import ACPICA 20110922. --- compiler/aslload.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'compiler/aslload.c') diff --git a/compiler/aslload.c b/compiler/aslload.c index 6eb1c5604dda..ed5a0a3b8be2 100644 --- a/compiler/aslload.c +++ b/compiler/aslload.c @@ -290,7 +290,6 @@ LdLoadResourceElements ( InitializerOp = ASL_GET_CHILD_NODE (Op); while (InitializerOp) { - if (InitializerOp->Asl.ExternalName) { Status = AcpiNsLookup (WalkState->ScopeInfo, @@ -305,20 +304,15 @@ LdLoadResourceElements ( } /* - * Store the field offset in the namespace node so it - * can be used when the field is referenced + * Store the field offset and length in the namespace node + * so it can be used when the field is referenced */ - Node->Value = (UINT32) InitializerOp->Asl.Value.Integer; + Node->Value = InitializerOp->Asl.Value.Tag.BitOffset; + Node->Length = InitializerOp->Asl.Value.Tag.BitLength; InitializerOp->Asl.Node = Node; Node->Op = InitializerOp; - - /* Pass thru the field type (Bitfield or Bytefield) */ - - if (InitializerOp->Asl.CompileFlags & NODE_IS_BIT_OFFSET) - { - Node->Flags |= ANOBJ_IS_BIT_OFFSET; - } } + InitializerOp = ASL_GET_PEER_NODE (InitializerOp); } -- cgit v1.2.3