1
2/******************************************************************************
3 *
4 * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities
5 * $Revision: 125 $
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.
--- 571 unchanged lines hidden (view full) ---
593
594 ObjDesc->IndexField.IndexObj = AcpiNsGetAttachedObject (Info->RegisterNode);
595 ObjDesc->IndexField.DataObj = AcpiNsGetAttachedObject (Info->DataRegisterNode);
596 ObjDesc->IndexField.Value = (UINT32)
597 (Info->FieldBitPosition / ACPI_MUL_8 (ObjDesc->Field.AccessByteWidth));
598
599 if (!ObjDesc->IndexField.DataObj || !ObjDesc->IndexField.IndexObj)
600 {
601 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Null Index Object\n"));
602 return_ACPI_STATUS (AE_AML_INTERNAL);
603 }
604
605 /* An additional reference for the attached objects */
606
607 AcpiUtAddReference (ObjDesc->IndexField.DataObj);
608 AcpiUtAddReference (ObjDesc->IndexField.IndexObj);
609
--- 31 unchanged lines hidden ---
2/******************************************************************************
3 *
4 * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities
5 * $Revision: 125 $
6 *
7 *****************************************************************************/
8
9/******************************************************************************
10 *
11 * 1. Copyright Notice
12 *
13 * Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
14 * All rights reserved.
15 *
16 * 2. License
17 *
18 * 2.1. This is your license from Intel Corp. under its intellectual property
19 * rights. You may have additional license terms from the party that provided
20 * you this software, covering your right to use that party's intellectual
21 * property rights.
--- 571 unchanged lines hidden (view full) ---
593
594 ObjDesc->IndexField.IndexObj = AcpiNsGetAttachedObject (Info->RegisterNode);
595 ObjDesc->IndexField.DataObj = AcpiNsGetAttachedObject (Info->DataRegisterNode);
596 ObjDesc->IndexField.Value = (UINT32)
597 (Info->FieldBitPosition / ACPI_MUL_8 (ObjDesc->Field.AccessByteWidth));
598
599 if (!ObjDesc->IndexField.DataObj || !ObjDesc->IndexField.IndexObj)
600 {
601 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Null Index Object\n"));
602 return_ACPI_STATUS (AE_AML_INTERNAL);
603 }
604
605 /* An additional reference for the attached objects */
606
607 AcpiUtAddReference (ObjDesc->IndexField.DataObj);
608 AcpiUtAddReference (ObjDesc->IndexField.IndexObj);
609
--- 31 unchanged lines hidden ---