summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/exresop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/exresop.c')
-rw-r--r--sys/contrib/dev/acpica/exresop.c27
1 files changed, 11 insertions, 16 deletions
diff --git a/sys/contrib/dev/acpica/exresop.c b/sys/contrib/dev/acpica/exresop.c
index 0fe9b8c..9c52434 100644
--- a/sys/contrib/dev/acpica/exresop.c
+++ b/sys/contrib/dev/acpica/exresop.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amresop - AML Interpreter operand/object resolution
- * $Revision: 18 $
+ * $Revision: 19 $
*
*****************************************************************************/
@@ -10,8 +10,8 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights
- * reserved.
+ * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
+ * All rights reserved.
*
* 2. License
*
@@ -131,7 +131,6 @@
MODULE_NAME ("amresop")
-
/*******************************************************************************
*
* FUNCTION: AcpiAmlCheckObjectType
@@ -344,8 +343,8 @@ AcpiAmlResolveOperands (
/*
- * Handle cases where the object does not need to be
- * resolved to a value
+ * Handle cases where the object does not need to be
+ * resolved to a value
*/
switch (ThisArgType)
@@ -361,7 +360,7 @@ AcpiAmlResolveOperands (
goto NextOperand;
}
- Status = AcpiAmlCheckObjectType (INTERNAL_TYPE_REFERENCE,
+ Status = AcpiAmlCheckObjectType (INTERNAL_TYPE_REFERENCE,
ObjectType, ObjDesc);
if (ACPI_FAILURE (Status))
{
@@ -380,7 +379,7 @@ AcpiAmlResolveOperands (
AcpiCmRemoveReference (ObjDesc);
(*StackPtr) = TempHandle;
}
-
+
goto NextOperand;
break;
@@ -404,7 +403,6 @@ AcpiAmlResolveOperands (
}
-
/*
* Resolve this object to a value
*/
@@ -426,7 +424,7 @@ AcpiAmlResolveOperands (
* is allowed
*/
case ARGI_NUMBER: /* Number */
-
+
/* Need an operand of type ACPI_TYPE_NUMBER */
TypeNeeded = ACPI_TYPE_NUMBER;
@@ -523,7 +521,7 @@ AcpiAmlResolveOperands (
DEBUG_PRINT (ACPI_INFO,
("AmlResolveOperands: Needed [Buf/Str/Pkg/Ref], found [%s] %p\n",
AcpiCmGetTypeName ((*StackPtr)->Common.Type), *StackPtr));
-
+
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
}
@@ -574,11 +572,11 @@ AcpiAmlResolveOperands (
}
- /*
+ /*
* Make sure that the original object was resolved to the
* required object type (Simple cases only).
*/
- Status = AcpiAmlCheckObjectType (TypeNeeded,
+ Status = AcpiAmlCheckObjectType (TypeNeeded,
(*StackPtr)->Common.Type, *StackPtr);
if (ACPI_FAILURE (Status))
{
@@ -586,8 +584,6 @@ AcpiAmlResolveOperands (
}
-
-
NextOperand:
/*
* If more operands needed, decrement StackPtr to point
@@ -601,7 +597,6 @@ NextOperand:
} /* while (*Types) */
-
return_ACPI_STATUS (Status);
}
OpenPOWER on IntegriCloud