Deleted Added
full compact
dsobject.c (151600) dsobject.c (151937)
1/******************************************************************************
2 *
3 * Module Name: dsobject - Dispatcher object management routines
1/******************************************************************************
2 *
3 * Module Name: dsobject - Dispatcher object management routines
4 * $Revision: 119 $
4 * $Revision: 1.124 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
12 * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights. You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.

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

121#include <contrib/dev/acpica/amlcode.h>
122#include <contrib/dev/acpica/acdispat.h>
123#include <contrib/dev/acpica/acnamesp.h>
124#include <contrib/dev/acpica/acinterp.h>
125
126#define _COMPONENT ACPI_DISPATCHER
127 ACPI_MODULE_NAME ("dsobject")
128
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights. You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.

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

121#include <contrib/dev/acpica/amlcode.h>
122#include <contrib/dev/acpica/acdispat.h>
123#include <contrib/dev/acpica/acnamesp.h>
124#include <contrib/dev/acpica/acinterp.h>
125
126#define _COMPONENT ACPI_DISPATCHER
127 ACPI_MODULE_NAME ("dsobject")
128
129static ACPI_STATUS
130AcpiDsBuildInternalObject (
131 ACPI_WALK_STATE *WalkState,
132 ACPI_PARSE_OBJECT *Op,
133 ACPI_OPERAND_OBJECT **ObjDescPtr);
129
134
135
130#ifndef ACPI_NO_METHOD_EXECUTION
136#ifndef ACPI_NO_METHOD_EXECUTION
131/*****************************************************************************
137/*******************************************************************************
132 *
133 * FUNCTION: AcpiDsBuildInternalObject
134 *
135 * PARAMETERS: WalkState - Current walk state
136 * Op - Parser object to be translated
137 * ObjDescPtr - Where the ACPI internal object is returned
138 *
139 * RETURN: Status
140 *
141 * DESCRIPTION: Translate a parser Op object to the equivalent namespace object
142 * Simple objects are any objects other than a package object!
143 *
138 *
139 * FUNCTION: AcpiDsBuildInternalObject
140 *
141 * PARAMETERS: WalkState - Current walk state
142 * Op - Parser object to be translated
143 * ObjDescPtr - Where the ACPI internal object is returned
144 *
145 * RETURN: Status
146 *
147 * DESCRIPTION: Translate a parser Op object to the equivalent namespace object
148 * Simple objects are any objects other than a package object!
149 *
144 ****************************************************************************/
150 ******************************************************************************/
145
151
146ACPI_STATUS
152static ACPI_STATUS
147AcpiDsBuildInternalObject (
148 ACPI_WALK_STATE *WalkState,
149 ACPI_PARSE_OBJECT *Op,
150 ACPI_OPERAND_OBJECT **ObjDescPtr)
151{
152 ACPI_OPERAND_OBJECT *ObjDesc;
153 ACPI_STATUS Status;
154

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

161 {
162 /*
163 * This is an named object reference. If this name was
164 * previously looked up in the namespace, it was stored in this op.
165 * Otherwise, go ahead and look it up now
166 */
167 if (!Op->Common.Node)
168 {
153AcpiDsBuildInternalObject (
154 ACPI_WALK_STATE *WalkState,
155 ACPI_PARSE_OBJECT *Op,
156 ACPI_OPERAND_OBJECT **ObjDescPtr)
157{
158 ACPI_OPERAND_OBJECT *ObjDesc;
159 ACPI_STATUS Status;
160

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

167 {
168 /*
169 * This is an named object reference. If this name was
170 * previously looked up in the namespace, it was stored in this op.
171 * Otherwise, go ahead and look it up now
172 */
173 if (!Op->Common.Node)
174 {
169 Status = AcpiNsLookup (WalkState->ScopeInfo, Op->Common.Value.String,
175 Status = AcpiNsLookup (WalkState->ScopeInfo,
176 Op->Common.Value.String,
170 ACPI_TYPE_ANY, ACPI_IMODE_EXECUTE,
177 ACPI_TYPE_ANY, ACPI_IMODE_EXECUTE,
171 ACPI_NS_SEARCH_PARENT | ACPI_NS_DONT_OPEN_SCOPE, NULL,
178 ACPI_NS_SEARCH_PARENT | ACPI_NS_DONT_OPEN_SCOPE,
179 NULL,
172 (ACPI_NAMESPACE_NODE **) &(Op->Common.Node));
173
174 if (ACPI_FAILURE (Status))
175 {
176 ACPI_REPORT_NSERROR (Op->Common.Value.String, Status);
177 return_ACPI_STATUS (Status);
178 }
179 }
180 }
181
182 /* Create and init the internal ACPI object */
183
180 (ACPI_NAMESPACE_NODE **) &(Op->Common.Node));
181
182 if (ACPI_FAILURE (Status))
183 {
184 ACPI_REPORT_NSERROR (Op->Common.Value.String, Status);
185 return_ACPI_STATUS (Status);
186 }
187 }
188 }
189
190 /* Create and init the internal ACPI object */
191
184 ObjDesc = AcpiUtCreateInternalObject ((AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode))->ObjectType);
192 ObjDesc = AcpiUtCreateInternalObject (
193 (AcpiPsGetOpcodeInfo (Op->Common.AmlOpcode))->ObjectType);
185 if (!ObjDesc)
186 {
187 return_ACPI_STATUS (AE_NO_MEMORY);
188 }
189
194 if (!ObjDesc)
195 {
196 return_ACPI_STATUS (AE_NO_MEMORY);
197 }
198
190 Status = AcpiDsInitObjectFromOp (WalkState, Op, Op->Common.AmlOpcode, &ObjDesc);
199 Status = AcpiDsInitObjectFromOp (WalkState, Op, Op->Common.AmlOpcode,
200 &ObjDesc);
191 if (ACPI_FAILURE (Status))
192 {
193 AcpiUtRemoveReference (ObjDesc);
194 return_ACPI_STATUS (Status);
195 }
196
197 *ObjDescPtr = ObjDesc;
198 return_ACPI_STATUS (AE_OK);
199}
200
201
201 if (ACPI_FAILURE (Status))
202 {
203 AcpiUtRemoveReference (ObjDesc);
204 return_ACPI_STATUS (Status);
205 }
206
207 *ObjDescPtr = ObjDesc;
208 return_ACPI_STATUS (AE_OK);
209}
210
211
202/*****************************************************************************
212/*******************************************************************************
203 *
204 * FUNCTION: AcpiDsBuildInternalBufferObj
205 *
206 * PARAMETERS: WalkState - Current walk state
207 * Op - Parser object to be translated
208 * BufferLength - Length of the buffer
209 * ObjDescPtr - Where the ACPI internal object is returned
210 *
211 * RETURN: Status
212 *
213 * DESCRIPTION: Translate a parser Op package object to the equivalent
214 * namespace object
215 *
213 *
214 * FUNCTION: AcpiDsBuildInternalBufferObj
215 *
216 * PARAMETERS: WalkState - Current walk state
217 * Op - Parser object to be translated
218 * BufferLength - Length of the buffer
219 * ObjDescPtr - Where the ACPI internal object is returned
220 *
221 * RETURN: Status
222 *
223 * DESCRIPTION: Translate a parser Op package object to the equivalent
224 * namespace object
225 *
216 ****************************************************************************/
226 ******************************************************************************/
217
218ACPI_STATUS
219AcpiDsBuildInternalBufferObj (
220 ACPI_WALK_STATE *WalkState,
221 ACPI_PARSE_OBJECT *Op,
222 UINT32 BufferLength,
223 ACPI_OPERAND_OBJECT **ObjDescPtr)
224{

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

313 }
314
315 ObjDesc->Buffer.Flags |= AOPOBJ_DATA_VALID;
316 Op->Common.Node = (ACPI_NAMESPACE_NODE *) ObjDesc;
317 return_ACPI_STATUS (AE_OK);
318}
319
320
227
228ACPI_STATUS
229AcpiDsBuildInternalBufferObj (
230 ACPI_WALK_STATE *WalkState,
231 ACPI_PARSE_OBJECT *Op,
232 UINT32 BufferLength,
233 ACPI_OPERAND_OBJECT **ObjDescPtr)
234{

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

323 }
324
325 ObjDesc->Buffer.Flags |= AOPOBJ_DATA_VALID;
326 Op->Common.Node = (ACPI_NAMESPACE_NODE *) ObjDesc;
327 return_ACPI_STATUS (AE_OK);
328}
329
330
321/*****************************************************************************
331/*******************************************************************************
322 *
323 * FUNCTION: AcpiDsBuildInternalPackageObj
324 *
325 * PARAMETERS: WalkState - Current walk state
326 * Op - Parser object to be translated
327 * PackageLength - Number of elements in the package
328 * ObjDescPtr - Where the ACPI internal object is returned
329 *
330 * RETURN: Status
331 *
332 * DESCRIPTION: Translate a parser Op package object to the equivalent
333 * namespace object
334 *
332 *
333 * FUNCTION: AcpiDsBuildInternalPackageObj
334 *
335 * PARAMETERS: WalkState - Current walk state
336 * Op - Parser object to be translated
337 * PackageLength - Number of elements in the package
338 * ObjDescPtr - Where the ACPI internal object is returned
339 *
340 * RETURN: Status
341 *
342 * DESCRIPTION: Translate a parser Op package object to the equivalent
343 * namespace object
344 *
335 ****************************************************************************/
345 ******************************************************************************/
336
337ACPI_STATUS
338AcpiDsBuildInternalPackageObj (
339 ACPI_WALK_STATE *WalkState,
340 ACPI_PARSE_OBJECT *Op,
341 UINT32 PackageLength,
342 ACPI_OPERAND_OBJECT **ObjDescPtr)
343{

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

424 Arg = Op->Common.Value.Arg;
425 Arg = Arg->Common.Next;
426 while (Arg)
427 {
428 if (Arg->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP)
429 {
430 /* Object (package or buffer) is already built */
431
346
347ACPI_STATUS
348AcpiDsBuildInternalPackageObj (
349 ACPI_WALK_STATE *WalkState,
350 ACPI_PARSE_OBJECT *Op,
351 UINT32 PackageLength,
352 ACPI_OPERAND_OBJECT **ObjDescPtr)
353{

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

434 Arg = Op->Common.Value.Arg;
435 Arg = Arg->Common.Next;
436 while (Arg)
437 {
438 if (Arg->Common.AmlOpcode == AML_INT_RETURN_VALUE_OP)
439 {
440 /* Object (package or buffer) is already built */
441
432 ObjDesc->Package.Elements[i] = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node);
442 ObjDesc->Package.Elements[i] =
443 ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, Arg->Common.Node);
433 }
434 else
435 {
436 Status = AcpiDsBuildInternalObject (WalkState, Arg,
444 }
445 else
446 {
447 Status = AcpiDsBuildInternalObject (WalkState, Arg,
437 &ObjDesc->Package.Elements[i]);
448 &ObjDesc->Package.Elements[i]);
438 }
439
440 i++;
441 Arg = Arg->Common.Next;
442 }
443
444 ObjDesc->Package.Flags |= AOPOBJ_DATA_VALID;
445 Op->Common.Node = (ACPI_NAMESPACE_NODE *) ObjDesc;
446 return_ACPI_STATUS (Status);
447}
448
449
449 }
450
451 i++;
452 Arg = Arg->Common.Next;
453 }
454
455 ObjDesc->Package.Flags |= AOPOBJ_DATA_VALID;
456 Op->Common.Node = (ACPI_NAMESPACE_NODE *) ObjDesc;
457 return_ACPI_STATUS (Status);
458}
459
460
450/*****************************************************************************
461/*******************************************************************************
451 *
452 * FUNCTION: AcpiDsCreateNode
453 *
454 * PARAMETERS: WalkState - Current walk state
455 * Node - NS Node to be initialized
456 * Op - Parser object to be translated
457 *
458 * RETURN: Status
459 *
460 * DESCRIPTION: Create the object to be associated with a namespace node
461 *
462 *
463 * FUNCTION: AcpiDsCreateNode
464 *
465 * PARAMETERS: WalkState - Current walk state
466 * Node - NS Node to be initialized
467 * Op - Parser object to be translated
468 *
469 * RETURN: Status
470 *
471 * DESCRIPTION: Create the object to be associated with a namespace node
472 *
462 ****************************************************************************/
473 ******************************************************************************/
463
464ACPI_STATUS
465AcpiDsCreateNode (
466 ACPI_WALK_STATE *WalkState,
467 ACPI_NAMESPACE_NODE *Node,
468 ACPI_PARSE_OBJECT *Op)
469{
470 ACPI_STATUS Status;

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

488 {
489 /* No arguments, there is nothing to do */
490
491 return_ACPI_STATUS (AE_OK);
492 }
493
494 /* Build an internal object for the argument(s) */
495
474
475ACPI_STATUS
476AcpiDsCreateNode (
477 ACPI_WALK_STATE *WalkState,
478 ACPI_NAMESPACE_NODE *Node,
479 ACPI_PARSE_OBJECT *Op)
480{
481 ACPI_STATUS Status;

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

499 {
500 /* No arguments, there is nothing to do */
501
502 return_ACPI_STATUS (AE_OK);
503 }
504
505 /* Build an internal object for the argument(s) */
506
496 Status = AcpiDsBuildInternalObject (WalkState, Op->Common.Value.Arg, &ObjDesc);
507 Status = AcpiDsBuildInternalObject (WalkState, Op->Common.Value.Arg,
508 &ObjDesc);
497 if (ACPI_FAILURE (Status))
498 {
499 return_ACPI_STATUS (Status);
500 }
501
502 /* Re-type the object according to its argument */
503
504 Node->Type = ACPI_GET_OBJECT_TYPE (ObjDesc);

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

511
512 AcpiUtRemoveReference (ObjDesc);
513 return_ACPI_STATUS (Status);
514}
515
516#endif /* ACPI_NO_METHOD_EXECUTION */
517
518
509 if (ACPI_FAILURE (Status))
510 {
511 return_ACPI_STATUS (Status);
512 }
513
514 /* Re-type the object according to its argument */
515
516 Node->Type = ACPI_GET_OBJECT_TYPE (ObjDesc);

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

523
524 AcpiUtRemoveReference (ObjDesc);
525 return_ACPI_STATUS (Status);
526}
527
528#endif /* ACPI_NO_METHOD_EXECUTION */
529
530
519/*****************************************************************************
531/*******************************************************************************
520 *
521 * FUNCTION: AcpiDsInitObjectFromOp
522 *
523 * PARAMETERS: WalkState - Current walk state
524 * Op - Parser op used to init the internal object
525 * Opcode - AML opcode associated with the object
526 * RetObjDesc - Namespace object to be initialized
527 *
528 * RETURN: Status
529 *
530 * DESCRIPTION: Initialize a namespace object from a parser Op and its
531 * associated arguments. The namespace object is a more compact
532 * representation of the Op and its arguments.
533 *
532 *
533 * FUNCTION: AcpiDsInitObjectFromOp
534 *
535 * PARAMETERS: WalkState - Current walk state
536 * Op - Parser op used to init the internal object
537 * Opcode - AML opcode associated with the object
538 * RetObjDesc - Namespace object to be initialized
539 *
540 * RETURN: Status
541 *
542 * DESCRIPTION: Initialize a namespace object from a parser Op and its
543 * associated arguments. The namespace object is a more compact
544 * representation of the Op and its arguments.
545 *
534 ****************************************************************************/
546 ******************************************************************************/
535
536ACPI_STATUS
537AcpiDsInitObjectFromOp (
538 ACPI_WALK_STATE *WalkState,
539 ACPI_PARSE_OBJECT *Op,
540 UINT16 Opcode,
541 ACPI_OPERAND_OBJECT **RetObjDesc)
542{

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

561
562 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
563 {
564 case ACPI_TYPE_BUFFER:
565
566 /*
567 * Defer evaluation of Buffer TermArg operand
568 */
547
548ACPI_STATUS
549AcpiDsInitObjectFromOp (
550 ACPI_WALK_STATE *WalkState,
551 ACPI_PARSE_OBJECT *Op,
552 UINT16 Opcode,
553 ACPI_OPERAND_OBJECT **RetObjDesc)
554{

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

573
574 switch (ACPI_GET_OBJECT_TYPE (ObjDesc))
575 {
576 case ACPI_TYPE_BUFFER:
577
578 /*
579 * Defer evaluation of Buffer TermArg operand
580 */
569 ObjDesc->Buffer.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
581 ObjDesc->Buffer.Node = (ACPI_NAMESPACE_NODE *)
582 WalkState->Operands[0];
570 ObjDesc->Buffer.AmlStart = Op->Named.Data;
571 ObjDesc->Buffer.AmlLength = Op->Named.Length;
572 break;
573
574
575 case ACPI_TYPE_PACKAGE:
576
577 /*
578 * Defer evaluation of Package TermArg operand
579 */
583 ObjDesc->Buffer.AmlStart = Op->Named.Data;
584 ObjDesc->Buffer.AmlLength = Op->Named.Length;
585 break;
586
587
588 case ACPI_TYPE_PACKAGE:
589
590 /*
591 * Defer evaluation of Package TermArg operand
592 */
580 ObjDesc->Package.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
593 ObjDesc->Package.Node = (ACPI_NAMESPACE_NODE *)
594 WalkState->Operands[0];
581 ObjDesc->Package.AmlStart = Op->Named.Data;
582 ObjDesc->Package.AmlLength = Op->Named.Length;
583 break;
584
585
586 case ACPI_TYPE_INTEGER:
587
588 switch (OpInfo->Type)
589 {
590 case AML_TYPE_CONSTANT:
591 /*
592 * Resolve AML Constants here - AND ONLY HERE!
593 * All constants are integers.
595 ObjDesc->Package.AmlStart = Op->Named.Data;
596 ObjDesc->Package.AmlLength = Op->Named.Length;
597 break;
598
599
600 case ACPI_TYPE_INTEGER:
601
602 switch (OpInfo->Type)
603 {
604 case AML_TYPE_CONSTANT:
605 /*
606 * Resolve AML Constants here - AND ONLY HERE!
607 * All constants are integers.
594 * We mark the integer with a flag that indicates that it started life
595 * as a constant -- so that stores to constants will perform as expected (noop).
596 * (ZeroOp is used as a placeholder for optional target operands.)
608 * We mark the integer with a flag that indicates that it started
609 * life as a constant -- so that stores to constants will perform
610 * as expected (noop). ZeroOp is used as a placeholder for optional
611 * target operands.
597 */
598 ObjDesc->Common.Flags = AOPOBJ_AML_CONSTANT;
599
600 switch (Opcode)
601 {
602 case AML_ZERO_OP:
603
604 ObjDesc->Integer.Value = 0;

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

617
618#ifndef ACPI_NO_METHOD_EXECUTION
619 AcpiExTruncateFor32bitTable (ObjDesc);
620#endif
621 break;
622
623 case AML_REVISION_OP:
624
612 */
613 ObjDesc->Common.Flags = AOPOBJ_AML_CONSTANT;
614
615 switch (Opcode)
616 {
617 case AML_ZERO_OP:
618
619 ObjDesc->Integer.Value = 0;

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

632
633#ifndef ACPI_NO_METHOD_EXECUTION
634 AcpiExTruncateFor32bitTable (ObjDesc);
635#endif
636 break;
637
638 case AML_REVISION_OP:
639
625 ObjDesc->Integer.Value = ACPI_CA_SUPPORT_LEVEL;
640 ObjDesc->Integer.Value = ACPI_CA_VERSION;
626 break;
627
628 default:
629
641 break;
642
643 default:
644
630 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown constant opcode %X\n", Opcode));
645 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
646 "Unknown constant opcode %X\n", Opcode));
631 Status = AE_AML_OPERAND_TYPE;
632 break;
633 }
634 break;
635
636
637 case AML_TYPE_LITERAL:
638
639 ObjDesc->Integer.Value = Op->Common.Value.Integer;
647 Status = AE_AML_OPERAND_TYPE;
648 break;
649 }
650 break;
651
652
653 case AML_TYPE_LITERAL:
654
655 ObjDesc->Integer.Value = Op->Common.Value.Integer;
656#ifndef ACPI_NO_METHOD_EXECUTION
657 AcpiExTruncateFor32bitTable (ObjDesc);
658#endif
640 break;
641
642
643 default:
659 break;
660
661
662 default:
644 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown Integer type %X\n", OpInfo->Type));
663 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown Integer type %X\n",
664 OpInfo->Type));
645 Status = AE_AML_OPERAND_TYPE;
646 break;
647 }
648 break;
649
650
651 case ACPI_TYPE_STRING:
652

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

672 case AML_TYPE_LOCAL_VARIABLE:
673
674 /* Split the opcode into a base opcode + offset */
675
676 ObjDesc->Reference.Opcode = AML_LOCAL_OP;
677 ObjDesc->Reference.Offset = Opcode - AML_LOCAL_OP;
678
679#ifndef ACPI_NO_METHOD_EXECUTION
665 Status = AE_AML_OPERAND_TYPE;
666 break;
667 }
668 break;
669
670
671 case ACPI_TYPE_STRING:
672

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

692 case AML_TYPE_LOCAL_VARIABLE:
693
694 /* Split the opcode into a base opcode + offset */
695
696 ObjDesc->Reference.Opcode = AML_LOCAL_OP;
697 ObjDesc->Reference.Offset = Opcode - AML_LOCAL_OP;
698
699#ifndef ACPI_NO_METHOD_EXECUTION
680 Status = AcpiDsMethodDataGetNode (AML_LOCAL_OP, ObjDesc->Reference.Offset,
681 WalkState, (ACPI_NAMESPACE_NODE **) &ObjDesc->Reference.Object);
700 Status = AcpiDsMethodDataGetNode (AML_LOCAL_OP,
701 ObjDesc->Reference.Offset,
702 WalkState,
703 (ACPI_NAMESPACE_NODE **) &ObjDesc->Reference.Object);
682#endif
683 break;
684
685
686 case AML_TYPE_METHOD_ARGUMENT:
687
688 /* Split the opcode into a base opcode + offset */
689
690 ObjDesc->Reference.Opcode = AML_ARG_OP;
691 ObjDesc->Reference.Offset = Opcode - AML_ARG_OP;
692
693#ifndef ACPI_NO_METHOD_EXECUTION
704#endif
705 break;
706
707
708 case AML_TYPE_METHOD_ARGUMENT:
709
710 /* Split the opcode into a base opcode + offset */
711
712 ObjDesc->Reference.Opcode = AML_ARG_OP;
713 ObjDesc->Reference.Offset = Opcode - AML_ARG_OP;
714
715#ifndef ACPI_NO_METHOD_EXECUTION
694 Status = AcpiDsMethodDataGetNode (AML_ARG_OP, ObjDesc->Reference.Offset,
695 WalkState, (ACPI_NAMESPACE_NODE **) &ObjDesc->Reference.Object);
716 Status = AcpiDsMethodDataGetNode (AML_ARG_OP,
717 ObjDesc->Reference.Offset,
718 WalkState,
719 (ACPI_NAMESPACE_NODE **) &ObjDesc->Reference.Object);
696#endif
697 break;
698
699 default: /* Other literals, etc.. */
700
701 if (Op->Common.AmlOpcode == AML_INT_NAMEPATH_OP)
702 {
703 /* Node was saved in Op */

--- 23 unchanged lines hidden ---
720#endif
721 break;
722
723 default: /* Other literals, etc.. */
724
725 if (Op->Common.AmlOpcode == AML_INT_NAMEPATH_OP)
726 {
727 /* Node was saved in Op */

--- 23 unchanged lines hidden ---