exfldio.c (123315) | exfldio.c (126372) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: exfldio - Aml Field I/O | 1/****************************************************************************** 2 * 3 * Module Name: exfldio - Aml Field I/O |
4 * $Revision: 100 $ | 4 * $Revision: 103 $ |
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 - 2003, Intel Corp. | 12 * Some or all of this work - Copyright (c) 1999 - 2004, 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. --- 551 unchanged lines hidden (view full) --- 572 Status = AcpiExInsertIntoField (ObjDesc->IndexField.DataObj, 573 Value, sizeof (ACPI_INTEGER)); 574 } 575 break; 576 577 578 default: 579 | 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. --- 551 unchanged lines hidden (view full) --- 572 Status = AcpiExInsertIntoField (ObjDesc->IndexField.DataObj, 573 Value, sizeof (ACPI_INTEGER)); 574 } 575 break; 576 577 578 default: 579 |
580 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "%p, Wrong object type - %s\n", 581 ObjDesc, AcpiUtGetObjectTypeName (ObjDesc))); | 580 ACPI_REPORT_ERROR (("Wrong object type in field I/O %X\n", 581 ACPI_GET_OBJECT_TYPE (ObjDesc))); |
582 Status = AE_AML_INTERNAL; 583 break; 584 } 585 586 if (ACPI_SUCCESS (Status)) 587 { 588 if (ReadWrite == ACPI_READ) 589 { --- 369 unchanged lines hidden (view full) --- 959 960 /* Special handling for the last datum to ignore extra bits */ 961 962 if ((i >= (DatumCount -1)) && 963 (ObjDesc->CommonField.EndFieldValidBits)) 964 { 965 /* 966 * This is the last iteration of the loop. We need to clear | 582 Status = AE_AML_INTERNAL; 583 break; 584 } 585 586 if (ACPI_SUCCESS (Status)) 587 { 588 if (ReadWrite == ACPI_READ) 589 { --- 369 unchanged lines hidden (view full) --- 959 960 /* Special handling for the last datum to ignore extra bits */ 961 962 if ((i >= (DatumCount -1)) && 963 (ObjDesc->CommonField.EndFieldValidBits)) 964 { 965 /* 966 * This is the last iteration of the loop. We need to clear |
967 * any unused bits (bits that are not part of this field) before | 967 * any unused bits (bits that are not part of this field) before |
968 * we store the final merged datum into the caller buffer. 969 */ 970 ThisRawDatum &= 971 ACPI_MASK_BITS_ABOVE (ObjDesc->CommonField.EndFieldValidBits); 972 } 973 974 /* 975 * Create the (possibly) merged datum to be stored to the caller buffer --- 278 unchanged lines hidden --- | 968 * we store the final merged datum into the caller buffer. 969 */ 970 ThisRawDatum &= 971 ACPI_MASK_BITS_ABOVE (ObjDesc->CommonField.EndFieldValidBits); 972 } 973 974 /* 975 * Create the (possibly) merged datum to be stored to the caller buffer --- 278 unchanged lines hidden --- |