1 /******************************************************************************
3 * Module Name: dsopcode - Dispatcher support for regions and fields
5 *****************************************************************************/
8 * Copyright (C) 2000 - 2019, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
54 #define _COMPONENT ACPI_DISPATCHER
55 ACPI_MODULE_NAME ("dsopcode")
57 /* Local prototypes */
60 AcpiDsInitBufferField (
62 ACPI_OPERAND_OBJECT
*ObjDesc
,
63 ACPI_OPERAND_OBJECT
*BufferDesc
,
64 ACPI_OPERAND_OBJECT
*OffsetDesc
,
65 ACPI_OPERAND_OBJECT
*LengthDesc
,
66 ACPI_OPERAND_OBJECT
*ResultDesc
);
69 /*******************************************************************************
71 * FUNCTION: AcpiDsInitializeRegion
73 * PARAMETERS: ObjHandle - Region namespace node
77 * DESCRIPTION: Front end to EvInitializeRegion
79 ******************************************************************************/
82 AcpiDsInitializeRegion (
83 ACPI_HANDLE ObjHandle
)
85 ACPI_OPERAND_OBJECT
*ObjDesc
;
89 ObjDesc
= AcpiNsGetAttachedObject (ObjHandle
);
91 /* Namespace is NOT locked */
93 Status
= AcpiEvInitializeRegion (ObjDesc
);
98 /*******************************************************************************
100 * FUNCTION: AcpiDsInitBufferField
102 * PARAMETERS: AmlOpcode - CreateXxxField
103 * ObjDesc - BufferField object
104 * BufferDesc - Host Buffer
105 * OffsetDesc - Offset into buffer
106 * LengthDesc - Length of field (CREATE_FIELD_OP only)
107 * ResultDesc - Where to store the result
111 * DESCRIPTION: Perform actual initialization of a buffer field
113 ******************************************************************************/
116 AcpiDsInitBufferField (
118 ACPI_OPERAND_OBJECT
*ObjDesc
,
119 ACPI_OPERAND_OBJECT
*BufferDesc
,
120 ACPI_OPERAND_OBJECT
*OffsetDesc
,
121 ACPI_OPERAND_OBJECT
*LengthDesc
,
122 ACPI_OPERAND_OBJECT
*ResultDesc
)
131 ACPI_FUNCTION_TRACE_PTR (DsInitBufferField
, ObjDesc
);
134 /* Host object must be a Buffer */
136 if (BufferDesc
->Common
.Type
!= ACPI_TYPE_BUFFER
)
138 ACPI_ERROR ((AE_INFO
,
139 "Target of Create Field is not a Buffer object - %s",
140 AcpiUtGetObjectTypeName (BufferDesc
)));
142 Status
= AE_AML_OPERAND_TYPE
;
147 * The last parameter to all of these opcodes (ResultDesc) started
148 * out as a NameString, and should therefore now be a NS node
149 * after resolution in AcpiExResolveOperands().
151 if (ACPI_GET_DESCRIPTOR_TYPE (ResultDesc
) != ACPI_DESC_TYPE_NAMED
)
153 ACPI_ERROR ((AE_INFO
,
154 "(%s) destination not a NS Node [%s]",
155 AcpiPsGetOpcodeName (AmlOpcode
),
156 AcpiUtGetDescriptorName (ResultDesc
)));
158 Status
= AE_AML_OPERAND_TYPE
;
162 Offset
= (UINT32
) OffsetDesc
->Integer
.Value
;
165 * Setup the Bit offsets and counts, according to the opcode
169 case AML_CREATE_FIELD_OP
:
171 /* Offset is in bits, count is in bits */
173 FieldFlags
= AML_FIELD_ACCESS_BYTE
;
175 BitCount
= (UINT32
) LengthDesc
->Integer
.Value
;
177 /* Must have a valid (>0) bit count */
181 ACPI_BIOS_ERROR ((AE_INFO
,
182 "Attempt to CreateField of length zero"));
183 Status
= AE_AML_OPERAND_VALUE
;
188 case AML_CREATE_BIT_FIELD_OP
:
190 /* Offset is in bits, Field is one bit */
194 FieldFlags
= AML_FIELD_ACCESS_BYTE
;
197 case AML_CREATE_BYTE_FIELD_OP
:
199 /* Offset is in bytes, field is one byte */
201 BitOffset
= 8 * Offset
;
203 FieldFlags
= AML_FIELD_ACCESS_BYTE
;
206 case AML_CREATE_WORD_FIELD_OP
:
208 /* Offset is in bytes, field is one word */
210 BitOffset
= 8 * Offset
;
212 FieldFlags
= AML_FIELD_ACCESS_WORD
;
215 case AML_CREATE_DWORD_FIELD_OP
:
217 /* Offset is in bytes, field is one dword */
219 BitOffset
= 8 * Offset
;
221 FieldFlags
= AML_FIELD_ACCESS_DWORD
;
224 case AML_CREATE_QWORD_FIELD_OP
:
226 /* Offset is in bytes, field is one qword */
228 BitOffset
= 8 * Offset
;
230 FieldFlags
= AML_FIELD_ACCESS_QWORD
;
235 ACPI_ERROR ((AE_INFO
,
236 "Unknown field creation opcode 0x%02X",
238 Status
= AE_AML_BAD_OPCODE
;
242 /* Entire field must fit within the current length of the buffer */
244 if ((BitOffset
+ BitCount
) >
245 (8 * (UINT32
) BufferDesc
->Buffer
.Length
))
247 Status
= AE_AML_BUFFER_LIMIT
;
248 ACPI_BIOS_EXCEPTION ((AE_INFO
, Status
,
249 "Field [%4.4s] at bit offset/length %u/%u "
250 "exceeds size of target Buffer (%u bits)",
251 AcpiUtGetNodeName (ResultDesc
), BitOffset
, BitCount
,
252 8 * (UINT32
) BufferDesc
->Buffer
.Length
));
257 * Initialize areas of the field object that are common to all fields
258 * For FieldFlags, use LOCK_RULE = 0 (NO_LOCK),
259 * UPDATE_RULE = 0 (UPDATE_PRESERVE)
261 Status
= AcpiExPrepCommonFieldObject (
262 ObjDesc
, FieldFlags
, 0, BitOffset
, BitCount
);
263 if (ACPI_FAILURE (Status
))
268 ObjDesc
->BufferField
.BufferObj
= BufferDesc
;
270 /* Reference count for BufferDesc inherits ObjDesc count */
272 BufferDesc
->Common
.ReferenceCount
= (UINT16
)
273 (BufferDesc
->Common
.ReferenceCount
+ ObjDesc
->Common
.ReferenceCount
);
278 /* Always delete the operands */
280 AcpiUtRemoveReference (OffsetDesc
);
281 AcpiUtRemoveReference (BufferDesc
);
283 if (AmlOpcode
== AML_CREATE_FIELD_OP
)
285 AcpiUtRemoveReference (LengthDesc
);
288 /* On failure, delete the result descriptor */
290 if (ACPI_FAILURE (Status
))
292 AcpiUtRemoveReference (ResultDesc
); /* Result descriptor */
296 /* Now the address and length are valid for this BufferField */
298 ObjDesc
->BufferField
.Flags
|= AOPOBJ_DATA_VALID
;
301 return_ACPI_STATUS (Status
);
305 /*******************************************************************************
307 * FUNCTION: AcpiDsEvalBufferFieldOperands
309 * PARAMETERS: WalkState - Current walk
310 * Op - A valid BufferField Op object
314 * DESCRIPTION: Get BufferField Buffer and Index
315 * Called from AcpiDsExecEndOp during BufferField parse tree walk
317 ******************************************************************************/
320 AcpiDsEvalBufferFieldOperands (
321 ACPI_WALK_STATE
*WalkState
,
322 ACPI_PARSE_OBJECT
*Op
)
325 ACPI_OPERAND_OBJECT
*ObjDesc
;
326 ACPI_NAMESPACE_NODE
*Node
;
327 ACPI_PARSE_OBJECT
*NextOp
;
330 ACPI_FUNCTION_TRACE_PTR (DsEvalBufferFieldOperands
, Op
);
334 * This is where we evaluate the address and length fields of the
335 * CreateXxxField declaration
337 Node
= Op
->Common
.Node
;
339 /* NextOp points to the op that holds the Buffer */
341 NextOp
= Op
->Common
.Value
.Arg
;
343 /* Evaluate/create the address and length operands */
345 Status
= AcpiDsCreateOperands (WalkState
, NextOp
);
346 if (ACPI_FAILURE (Status
))
348 return_ACPI_STATUS (Status
);
351 ObjDesc
= AcpiNsGetAttachedObject (Node
);
354 return_ACPI_STATUS (AE_NOT_EXIST
);
357 /* Resolve the operands */
359 Status
= AcpiExResolveOperands (
360 Op
->Common
.AmlOpcode
, ACPI_WALK_OPERANDS
, WalkState
);
361 if (ACPI_FAILURE (Status
))
363 ACPI_ERROR ((AE_INFO
, "(%s) bad operand(s), status 0x%X",
364 AcpiPsGetOpcodeName (Op
->Common
.AmlOpcode
), Status
));
366 return_ACPI_STATUS (Status
);
369 /* Initialize the Buffer Field */
371 if (Op
->Common
.AmlOpcode
== AML_CREATE_FIELD_OP
)
373 /* NOTE: Slightly different operands for this opcode */
375 Status
= AcpiDsInitBufferField (Op
->Common
.AmlOpcode
, ObjDesc
,
376 WalkState
->Operands
[0], WalkState
->Operands
[1],
377 WalkState
->Operands
[2], WalkState
->Operands
[3]);
381 /* All other, CreateXxxField opcodes */
383 Status
= AcpiDsInitBufferField (Op
->Common
.AmlOpcode
, ObjDesc
,
384 WalkState
->Operands
[0], WalkState
->Operands
[1],
385 NULL
, WalkState
->Operands
[2]);
388 return_ACPI_STATUS (Status
);
392 /*******************************************************************************
394 * FUNCTION: AcpiDsEvalRegionOperands
396 * PARAMETERS: WalkState - Current walk
397 * Op - A valid region Op object
401 * DESCRIPTION: Get region address and length
402 * Called from AcpiDsExecEndOp during OpRegion parse tree walk
404 ******************************************************************************/
407 AcpiDsEvalRegionOperands (
408 ACPI_WALK_STATE
*WalkState
,
409 ACPI_PARSE_OBJECT
*Op
)
412 ACPI_OPERAND_OBJECT
*ObjDesc
;
413 ACPI_OPERAND_OBJECT
*OperandDesc
;
414 ACPI_NAMESPACE_NODE
*Node
;
415 ACPI_PARSE_OBJECT
*NextOp
;
418 ACPI_FUNCTION_TRACE_PTR (DsEvalRegionOperands
, Op
);
422 * This is where we evaluate the address and length fields of the
423 * OpRegion declaration
425 Node
= Op
->Common
.Node
;
427 /* NextOp points to the op that holds the SpaceID */
429 NextOp
= Op
->Common
.Value
.Arg
;
431 /* NextOp points to address op */
433 NextOp
= NextOp
->Common
.Next
;
435 /* Evaluate/create the address and length operands */
437 Status
= AcpiDsCreateOperands (WalkState
, NextOp
);
438 if (ACPI_FAILURE (Status
))
440 return_ACPI_STATUS (Status
);
443 /* Resolve the length and address operands to numbers */
445 Status
= AcpiExResolveOperands (
446 Op
->Common
.AmlOpcode
, ACPI_WALK_OPERANDS
, WalkState
);
447 if (ACPI_FAILURE (Status
))
449 return_ACPI_STATUS (Status
);
452 ObjDesc
= AcpiNsGetAttachedObject (Node
);
455 return_ACPI_STATUS (AE_NOT_EXIST
);
459 * Get the length operand and save it
462 OperandDesc
= WalkState
->Operands
[WalkState
->NumOperands
- 1];
464 ObjDesc
->Region
.Length
= (UINT32
) OperandDesc
->Integer
.Value
;
465 AcpiUtRemoveReference (OperandDesc
);
468 * Get the address and save it
469 * (at top of stack - 1)
471 OperandDesc
= WalkState
->Operands
[WalkState
->NumOperands
- 2];
473 ObjDesc
->Region
.Address
= (ACPI_PHYSICAL_ADDRESS
)
474 OperandDesc
->Integer
.Value
;
475 AcpiUtRemoveReference (OperandDesc
);
477 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC
, "RgnObj %p Addr %8.8X%8.8X Len %X\n",
478 ObjDesc
, ACPI_FORMAT_UINT64 (ObjDesc
->Region
.Address
),
479 ObjDesc
->Region
.Length
));
481 Status
= AcpiUtAddAddressRange (ObjDesc
->Region
.SpaceId
,
482 ObjDesc
->Region
.Address
, ObjDesc
->Region
.Length
, Node
);
484 /* Now the address and length are valid for this opregion */
486 ObjDesc
->Region
.Flags
|= AOPOBJ_DATA_VALID
;
487 return_ACPI_STATUS (Status
);
491 /*******************************************************************************
493 * FUNCTION: AcpiDsEvalTableRegionOperands
495 * PARAMETERS: WalkState - Current walk
496 * Op - A valid region Op object
500 * DESCRIPTION: Get region address and length.
501 * Called from AcpiDsExecEndOp during DataTableRegion parse
504 ******************************************************************************/
507 AcpiDsEvalTableRegionOperands (
508 ACPI_WALK_STATE
*WalkState
,
509 ACPI_PARSE_OBJECT
*Op
)
512 ACPI_OPERAND_OBJECT
*ObjDesc
;
513 ACPI_OPERAND_OBJECT
**Operand
;
514 ACPI_NAMESPACE_NODE
*Node
;
515 ACPI_PARSE_OBJECT
*NextOp
;
516 ACPI_TABLE_HEADER
*Table
;
520 ACPI_FUNCTION_TRACE_PTR (DsEvalTableRegionOperands
, Op
);
524 * This is where we evaluate the Signature string, OemId string,
525 * and OemTableId string of the Data Table Region declaration
527 Node
= Op
->Common
.Node
;
529 /* NextOp points to Signature string op */
531 NextOp
= Op
->Common
.Value
.Arg
;
534 * Evaluate/create the Signature string, OemId string,
535 * and OemTableId string operands
537 Status
= AcpiDsCreateOperands (WalkState
, NextOp
);
538 if (ACPI_FAILURE (Status
))
540 return_ACPI_STATUS (Status
);
543 Operand
= &WalkState
->Operands
[0];
546 * Resolve the Signature string, OemId string,
547 * and OemTableId string operands
549 Status
= AcpiExResolveOperands (
550 Op
->Common
.AmlOpcode
, ACPI_WALK_OPERANDS
, WalkState
);
551 if (ACPI_FAILURE (Status
))
556 /* Find the ACPI table */
558 Status
= AcpiTbFindTable (
559 Operand
[0]->String
.Pointer
,
560 Operand
[1]->String
.Pointer
,
561 Operand
[2]->String
.Pointer
, &TableIndex
);
562 if (ACPI_FAILURE (Status
))
564 if (Status
== AE_NOT_FOUND
)
566 ACPI_ERROR ((AE_INFO
,
567 "ACPI Table [%4.4s] OEM:(%s, %s) not found in RSDT/XSDT",
568 Operand
[0]->String
.Pointer
,
569 Operand
[1]->String
.Pointer
,
570 Operand
[2]->String
.Pointer
));
575 Status
= AcpiGetTableByIndex (TableIndex
, &Table
);
576 if (ACPI_FAILURE (Status
))
581 ObjDesc
= AcpiNsGetAttachedObject (Node
);
584 Status
= AE_NOT_EXIST
;
588 ObjDesc
->Region
.Address
= ACPI_PTR_TO_PHYSADDR (Table
);
589 ObjDesc
->Region
.Length
= Table
->Length
;
591 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC
, "RgnObj %p Addr %8.8X%8.8X Len %X\n",
592 ObjDesc
, ACPI_FORMAT_UINT64 (ObjDesc
->Region
.Address
),
593 ObjDesc
->Region
.Length
));
595 /* Now the address and length are valid for this opregion */
597 ObjDesc
->Region
.Flags
|= AOPOBJ_DATA_VALID
;
600 AcpiUtRemoveReference (Operand
[0]);
601 AcpiUtRemoveReference (Operand
[1]);
602 AcpiUtRemoveReference (Operand
[2]);
604 return_ACPI_STATUS (Status
);
608 /*******************************************************************************
610 * FUNCTION: AcpiDsEvalDataObjectOperands
612 * PARAMETERS: WalkState - Current walk
613 * Op - A valid DataObject Op object
614 * ObjDesc - DataObject
618 * DESCRIPTION: Get the operands and complete the following data object types:
621 ******************************************************************************/
624 AcpiDsEvalDataObjectOperands (
625 ACPI_WALK_STATE
*WalkState
,
626 ACPI_PARSE_OBJECT
*Op
,
627 ACPI_OPERAND_OBJECT
*ObjDesc
)
630 ACPI_OPERAND_OBJECT
*ArgDesc
;
634 ACPI_FUNCTION_TRACE (DsEvalDataObjectOperands
);
637 /* The first operand (for all of these data objects) is the length */
640 * Set proper index into operand stack for AcpiDsObjStackPush
641 * invoked inside AcpiDsCreateOperand.
643 WalkState
->OperandIndex
= WalkState
->NumOperands
;
645 /* Ignore if child is not valid */
647 if (!Op
->Common
.Value
.Arg
)
649 ACPI_ERROR ((AE_INFO
,
650 "Missing child while evaluating opcode %4.4X, Op %p",
651 Op
->Common
.AmlOpcode
, Op
));
652 return_ACPI_STATUS (AE_OK
);
655 Status
= AcpiDsCreateOperand (WalkState
, Op
->Common
.Value
.Arg
, 1);
656 if (ACPI_FAILURE (Status
))
658 return_ACPI_STATUS (Status
);
661 Status
= AcpiExResolveOperands (WalkState
->Opcode
,
662 &(WalkState
->Operands
[WalkState
->NumOperands
-1]),
664 if (ACPI_FAILURE (Status
))
666 return_ACPI_STATUS (Status
);
669 /* Extract length operand */
671 ArgDesc
= WalkState
->Operands
[WalkState
->NumOperands
- 1];
672 Length
= (UINT32
) ArgDesc
->Integer
.Value
;
674 /* Cleanup for length operand */
676 Status
= AcpiDsObjStackPop (1, WalkState
);
677 if (ACPI_FAILURE (Status
))
679 return_ACPI_STATUS (Status
);
682 AcpiUtRemoveReference (ArgDesc
);
685 * Create the actual data object
687 switch (Op
->Common
.AmlOpcode
)
691 Status
= AcpiDsBuildInternalBufferObj (
692 WalkState
, Op
, Length
, &ObjDesc
);
696 case AML_VARIABLE_PACKAGE_OP
:
698 Status
= AcpiDsBuildInternalPackageObj (
699 WalkState
, Op
, Length
, &ObjDesc
);
704 return_ACPI_STATUS (AE_AML_BAD_OPCODE
);
707 if (ACPI_SUCCESS (Status
))
710 * Return the object in the WalkState, unless the parent is a package -
711 * in this case, the return object will be stored in the parse tree
714 if ((!Op
->Common
.Parent
) ||
715 ((Op
->Common
.Parent
->Common
.AmlOpcode
!= AML_PACKAGE_OP
) &&
716 (Op
->Common
.Parent
->Common
.AmlOpcode
!= AML_VARIABLE_PACKAGE_OP
) &&
717 (Op
->Common
.Parent
->Common
.AmlOpcode
!= AML_NAME_OP
)))
719 WalkState
->ResultObj
= ObjDesc
;
723 return_ACPI_STATUS (Status
);
727 /*******************************************************************************
729 * FUNCTION: AcpiDsEvalBankFieldOperands
731 * PARAMETERS: WalkState - Current walk
732 * Op - A valid BankField Op object
736 * DESCRIPTION: Get BankField BankValue
737 * Called from AcpiDsExecEndOp during BankField parse tree walk
739 ******************************************************************************/
742 AcpiDsEvalBankFieldOperands (
743 ACPI_WALK_STATE
*WalkState
,
744 ACPI_PARSE_OBJECT
*Op
)
747 ACPI_OPERAND_OBJECT
*ObjDesc
;
748 ACPI_OPERAND_OBJECT
*OperandDesc
;
749 ACPI_NAMESPACE_NODE
*Node
;
750 ACPI_PARSE_OBJECT
*NextOp
;
751 ACPI_PARSE_OBJECT
*Arg
;
754 ACPI_FUNCTION_TRACE_PTR (DsEvalBankFieldOperands
, Op
);
758 * This is where we evaluate the BankValue field of the
759 * BankField declaration
762 /* NextOp points to the op that holds the Region */
764 NextOp
= Op
->Common
.Value
.Arg
;
766 /* NextOp points to the op that holds the Bank Register */
768 NextOp
= NextOp
->Common
.Next
;
770 /* NextOp points to the op that holds the Bank Value */
772 NextOp
= NextOp
->Common
.Next
;
775 * Set proper index into operand stack for AcpiDsObjStackPush
776 * invoked inside AcpiDsCreateOperand.
778 * We use WalkState->Operands[0] to store the evaluated BankValue
780 WalkState
->OperandIndex
= 0;
782 Status
= AcpiDsCreateOperand (WalkState
, NextOp
, 0);
783 if (ACPI_FAILURE (Status
))
785 return_ACPI_STATUS (Status
);
788 Status
= AcpiExResolveToValue (&WalkState
->Operands
[0], WalkState
);
789 if (ACPI_FAILURE (Status
))
791 return_ACPI_STATUS (Status
);
794 ACPI_DUMP_OPERANDS (ACPI_WALK_OPERANDS
,
795 AcpiPsGetOpcodeName (Op
->Common
.AmlOpcode
), 1);
797 * Get the BankValue operand and save it
800 OperandDesc
= WalkState
->Operands
[0];
802 /* Arg points to the start Bank Field */
804 Arg
= AcpiPsGetArg (Op
, 4);
807 /* Ignore OFFSET and ACCESSAS terms here */
809 if (Arg
->Common
.AmlOpcode
== AML_INT_NAMEDFIELD_OP
)
811 Node
= Arg
->Common
.Node
;
813 ObjDesc
= AcpiNsGetAttachedObject (Node
);
816 return_ACPI_STATUS (AE_NOT_EXIST
);
819 ObjDesc
->BankField
.Value
= (UINT32
) OperandDesc
->Integer
.Value
;
822 /* Move to next field in the list */
824 Arg
= Arg
->Common
.Next
;
827 AcpiUtRemoveReference (OperandDesc
);
828 return_ACPI_STATUS (Status
);