Cleanup prior to label

date	2001.04.26.23.04.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:42:39 +00:00
parent 7cc4076f8e
commit 50f284ea83
3 changed files with 13 additions and 15 deletions

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amprep - ACPI AML (p-code) execution - field prep utilities
* $Revision: 1.82 $
* $Revision: 1.83 $
*
*****************************************************************************/
@ -253,7 +253,7 @@ AcpiAmlPrepCommonFieldObject (
/* Decode the access type so we can compute offsets */
Granularity = AcpiAmlDecodeFieldAccessType (ObjDesc->Field.Access,
Granularity = AcpiAmlDecodeFieldAccessType (ObjDesc->Field.Access,
ObjDesc->Field.BitLength);
if (!Granularity)
{
@ -266,8 +266,8 @@ AcpiAmlPrepCommonFieldObject (
if (ObjDesc->Common.Type == ACPI_TYPE_BUFFER_FIELD)
{
/*
* BufferField access can be on any byte boundary, so the
/*
* BufferField access can be on any byte boundary, so the
* granularity is always 8
*/
Granularity = 8;

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amresnte - AML Interpreter object resolution
* $Revision: 1.33 $
* $Revision: 1.35 $
*
*****************************************************************************/
@ -167,7 +167,7 @@ AcpiAmlResolveNodeToValue (
ACPI_OPERAND_OBJECT *ObjDesc = NULL;
ACPI_NAMESPACE_NODE *Node;
UINT8 *AmlPointer = NULL;
OBJECT_TYPE_INTERNAL EntryType;
ACPI_OBJECT_TYPE8 EntryType;
ACPI_INTEGER TempVal;
BOOLEAN AttachedAmlPointer = FALSE;
UINT8 AmlOpcode = 0;
@ -176,9 +176,8 @@ AcpiAmlResolveNodeToValue (
FUNCTION_TRACE ("AmlResolveNodeToValue");
/*
* The stack pointer points to a ACPI_NAMESPACE_NODE (Node). Get the
* The stack pointer points to a ACPI_NAMESPACE_NODE (Node). Get the
* object that is attached to the Node.
*/

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amresolv - AML Interpreter object resolution
* $Revision: 1.89 $
* $Revision: 1.91 $
*
*****************************************************************************/
@ -159,7 +159,7 @@ AcpiAmlGetBufferFieldValue (
/*
* Parameter validation
* Parameter validation
*/
if (!ObjDesc)
{
@ -199,11 +199,10 @@ AcpiAmlGetBufferFieldValue (
}
/* Field location is (base of buffer) + (byte offset) */
Location = ObjDesc->BufferField.BufferObj->Buffer.Pointer
+ ObjDesc->BufferField.Offset;
+ ObjDesc->BufferField.ByteOffset;
/*
* Construct Mask with as many 1 bits as the field width
@ -240,7 +239,7 @@ AcpiAmlGetBufferFieldValue (
DEBUG_PRINT (ACPI_INFO,
("** Read from buffer %p byte %ld bit %d width %d addr %p mask %08lx val %08lx\n",
ObjDesc->BufferField.BufferObj->Buffer.Pointer,
ObjDesc->BufferField.Offset,
ObjDesc->BufferField.ByteOffset,
ObjDesc->BufferField.BitOffset,
ObjDesc->BufferField.BitLength,
Location, Mask, ResultDesc->Integer.Value));
@ -305,7 +304,7 @@ AcpiAmlResolveToValue (
if (VALID_DESCRIPTOR_TYPE (*StackPtr, ACPI_DESC_TYPE_NAMED))
{
Status = AcpiAmlResolveNodeToValue ((ACPI_NAMESPACE_NODE **) StackPtr,
Status = AcpiAmlResolveNodeToValue ((ACPI_NAMESPACE_NODE **) StackPtr,
WalkState);
if (ACPI_FAILURE (Status))
{
@ -392,7 +391,7 @@ AcpiAmlResolveObjectToValue (
* Note: this increments the local's object reference count
*/
Status = AcpiDsMethodDataGetValue (Opcode,
Status = AcpiDsMethodDataGetValue (Opcode,
StackDesc->Reference.Offset, WalkState, &ObjDesc);
if (ACPI_FAILURE (Status))
{