diff options
author | msmith <msmith@FreeBSD.org> | 2000-12-21 06:56:46 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-12-21 06:56:46 +0000 |
commit | 07e76fb2a28476ae54bb108098c0707743ab398c (patch) | |
tree | 75730fe174d9e937dfe3355d34c0bf027089aab8 /sys/contrib/dev/acpica/exresop.c | |
parent | b92a08961bec1b7b6c9756c131e093978f2f9029 (diff) | |
parent | 68d9171019852e7a4325965a2539a5a2eb7571da (diff) | |
download | FreeBSD-src-07e76fb2a28476ae54bb108098c0707743ab398c.zip FreeBSD-src-07e76fb2a28476ae54bb108098c0707743ab398c.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r70243,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'sys/contrib/dev/acpica/exresop.c')
-rw-r--r-- | sys/contrib/dev/acpica/exresop.c | 27 |
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); } |