diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2012-10-19 18:47:57 +0000 | 
| commit | 31aa864e8c068201d58aad3a8f82ddb51df11015 (patch) | |
| tree | 5e268c18ae0fa3ec73e13e2af60a3be57d8393ec /source/components/executer | |
| parent | ebef5c959a0ea58fa05c4a5a80bb93104780bf87 (diff) | |
Notes
Diffstat (limited to 'source/components/executer')
24 files changed, 64 insertions, 113 deletions
| diff --git a/source/components/executer/exconfig.c b/source/components/executer/exconfig.c index 581bc574e4dc4..f0083ff3beb8e 100644 --- a/source/components/executer/exconfig.c +++ b/source/components/executer/exconfig.c @@ -222,7 +222,7 @@ AcpiExLoadTableOp (      if (Operand[3]->String.Length > 0)      {          /* -         * Find the node referenced by the RootPathString.  This is the +         * Find the node referenced by the RootPathString. This is the           * location within the namespace where the table will be loaded.           */          Status = AcpiNsGetNode (StartNode, Operand[3]->String.Pointer, @@ -685,4 +685,3 @@ AcpiExUnloadTable (      DdbHandle->Common.Flags &= ~AOPOBJ_DATA_VALID;      return_ACPI_STATUS (AE_OK);  } - diff --git a/source/components/executer/exconvrt.c b/source/components/executer/exconvrt.c index e79cbc96e975e..81cde05cb4a13 100644 --- a/source/components/executer/exconvrt.c +++ b/source/components/executer/exconvrt.c @@ -750,5 +750,3 @@ AcpiExConvertToTargetType (      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/excreate.c b/source/components/executer/excreate.c index 888ff7d7c4ad6..cd1ffc2b5336e 100644 --- a/source/components/executer/excreate.c +++ b/source/components/executer/excreate.c @@ -89,7 +89,7 @@ AcpiExCreateAlias (      {          /*           * Dereference an existing alias so that we don't create a chain -         * of aliases.  With this code, we guarantee that an alias is +         * of aliases. With this code, we guarantee that an alias is           * always exactly one level of indirection away from the           * actual aliased name.           */ @@ -99,7 +99,7 @@ AcpiExCreateAlias (      /*       * For objects that can never change (i.e., the NS node will       * permanently point to the same object), we can simply attach -     * the object to the new NS node.  For other objects (such as +     * the object to the new NS node. For other objects (such as       * Integers, buffers, etc.), we have to point the Alias node       * to the original Node.       */ @@ -147,7 +147,7 @@ AcpiExCreateAlias (          /*           * The new alias assumes the type of the target, and it points -         * to the same object.  The reference count of the object has an +         * to the same object. The reference count of the object has an           * additional reference to prevent deletion out from under either the           * target node or the alias Node           */ @@ -570,5 +570,3 @@ Exit:      AcpiUtRemoveReference (Operand[1]);      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exdebug.c b/source/components/executer/exdebug.c index 166b2af170ffa..883c2ac58778e 100644 --- a/source/components/executer/exdebug.c +++ b/source/components/executer/exdebug.c @@ -162,9 +162,9 @@ AcpiExDoDebugObject (      case ACPI_TYPE_BUFFER:          AcpiOsPrintf ("[0x%.2X]\n", (UINT32) SourceDesc->Buffer.Length); -        AcpiUtDumpBuffer2 (SourceDesc->Buffer.Pointer, +        AcpiUtDumpBuffer (SourceDesc->Buffer.Pointer,              (SourceDesc->Buffer.Length < 256) ? -                SourceDesc->Buffer.Length : 256, DB_BYTE_DISPLAY); +                SourceDesc->Buffer.Length : 256, DB_BYTE_DISPLAY, 0);          break;      case ACPI_TYPE_STRING: @@ -205,7 +205,7 @@ AcpiExDoDebugObject (              /* Case for DdbHandle */              AcpiOsPrintf ("Table Index 0x%X\n", SourceDesc->Reference.Value); -            return; +            return_VOID;          default:              break; @@ -274,5 +274,3 @@ AcpiExDoDebugObject (      return_VOID;  }  #endif - - diff --git a/source/components/executer/exdump.c b/source/components/executer/exdump.c index 0943e668c1c65..5e13849a7db36 100644 --- a/source/components/executer/exdump.c +++ b/source/components/executer/exdump.c @@ -828,7 +828,7 @@ AcpiExDumpOperands (   * PARAMETERS:  Title               - Descriptive text   *              Value               - Value to be displayed   * - * DESCRIPTION: Object dump output formatting functions.  These functions + * DESCRIPTION: Object dump output formatting functions. These functions   *              reduce the number of format strings required and keeps them   *              all in one place for easy modification.   * @@ -1015,7 +1015,7 @@ AcpiExDumpPackageObj (          AcpiOsPrintf ("[Buffer] Length %.2X = ", ObjDesc->Buffer.Length);          if (ObjDesc->Buffer.Length)          { -            AcpiUtDumpBuffer (ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer), +            AcpiUtDebugDumpBuffer (ACPI_CAST_PTR (UINT8, ObjDesc->Buffer.Pointer),                  ObjDesc->Buffer.Length, DB_DWORD_DISPLAY, _COMPONENT);          }          else @@ -1122,4 +1122,3 @@ AcpiExDumpObjectDescriptor (  }  #endif - diff --git a/source/components/executer/exfield.c b/source/components/executer/exfield.c index a682406826072..9fa93ccc58a5a 100644 --- a/source/components/executer/exfield.c +++ b/source/components/executer/exfield.c @@ -64,7 +64,7 @@   *   * RETURN:      Status   * - * DESCRIPTION: Read from a named field.  Returns either an Integer or a + * DESCRIPTION: Read from a named field. Returns either an Integer or a   *              Buffer, depending on the size of the field.   *   ******************************************************************************/ @@ -161,7 +161,7 @@ AcpiExReadDataFromField (       * Allocate a buffer for the contents of the field.       *       * If the field is larger than the current integer width, create -     * a BUFFER to hold it.  Otherwise, use an INTEGER.  This allows +     * a BUFFER to hold it. Otherwise, use an INTEGER. This allows       * the use of arithmetic operators on the returned value if the       * field size is equal or smaller than an Integer.       * @@ -402,5 +402,3 @@ AcpiExWriteDataToField (      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exfldio.c b/source/components/executer/exfldio.c index e138e9a13ce48..2b8497665f850 100644 --- a/source/components/executer/exfldio.c +++ b/source/components/executer/exfldio.c @@ -86,7 +86,7 @@ AcpiExSetupRegion (   * RETURN:      Status   *   * DESCRIPTION: Common processing for AcpiExExtractFromField and - *              AcpiExInsertIntoField.  Initialize the Region if necessary and + *              AcpiExInsertIntoField. Initialize the Region if necessary and   *              validate the request.   *   ******************************************************************************/ @@ -168,7 +168,7 @@ AcpiExSetupRegion (  #endif      /* -     * Validate the request.  The entire request from the byte offset for a +     * Validate the request. The entire request from the byte offset for a       * length of one field datum (access width) must fit within the region.       * (Region length is specified in bytes)       */ @@ -197,7 +197,7 @@ AcpiExSetupRegion (          {              /*               * This is the case where the AccessType (AccWord, etc.) is wider -             * than the region itself.  For example, a region of length one +             * than the region itself. For example, a region of length one               * byte, and a field with Dword access specified.               */              ACPI_ERROR ((AE_INFO, @@ -339,7 +339,7 @@ AcpiExAccessRegion (   *   * DESCRIPTION: Check if a value is out of range of the field being written.   *              Used to check if the values written to Index and Bank registers - *              are out of range.  Normally, the value is simply truncated + *              are out of range. Normally, the value is simply truncated   *              to fit the field, but this case is most likely a serious   *              coding error in the ASL.   * @@ -392,7 +392,7 @@ AcpiExRegisterOverflow (   *   * RETURN:      Status   * - * DESCRIPTION: Read or Write a single datum of a field.  The FieldType is + * DESCRIPTION: Read or Write a single datum of a field. The FieldType is   *              demultiplexed here to handle the different types of fields   *              (BufferField, RegionField, IndexField, BankField)   * @@ -906,7 +906,7 @@ AcpiExInsertIntoField (                          ObjDesc->CommonField.BitLength);      /*       * We must have a buffer that is at least as long as the field -     * we are writing to.  This is because individual fields are +     * we are writing to. This is because individual fields are       * indivisible and partial writes are not supported -- as per       * the ACPI specification.       */ @@ -922,7 +922,7 @@ AcpiExInsertIntoField (          /*           * Copy the original data to the new buffer, starting -         * at Byte zero.  All unused (upper) bytes of the +         * at Byte zero. All unused (upper) bytes of the           * buffer will be 0.           */          ACPI_MEMCPY ((char *) NewBuffer, (char *) Buffer, BufferLength); @@ -1051,5 +1051,3 @@ Exit:      }      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exmisc.c b/source/components/executer/exmisc.c index 63114f5584d62..1966aacb7b479 100644 --- a/source/components/executer/exmisc.c +++ b/source/components/executer/exmisc.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes @@ -278,7 +277,7 @@ AcpiExDoConcatenate (      /* -     * Convert the second operand if necessary.  The first operand +     * Convert the second operand if necessary. The first operand       * determines the type of the second operand, (See the Data Types       * section of the ACPI specification.)  Both object types are       * guaranteed to be either Integer/String/Buffer by the operand @@ -630,7 +629,7 @@ AcpiExDoLogicalOp (      /* -     * Convert the second operand if necessary.  The first operand +     * Convert the second operand if necessary. The first operand       * determines the type of the second operand, (See the Data Types       * section of the ACPI 3.0+ specification.)  Both object types are       * guaranteed to be either Integer/String/Buffer by the operand @@ -796,5 +795,3 @@ Cleanup:      *LogicalResult = LocalResult;      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exmutex.c b/source/components/executer/exmutex.c index 4c702b8baa6df..70ccfd075f047 100644 --- a/source/components/executer/exmutex.c +++ b/source/components/executer/exmutex.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exmutex - ASL Mutex Acquire/Release functions @@ -341,7 +340,7 @@ AcpiExReleaseMutexObject (      if (ObjDesc->Mutex.AcquisitionDepth == 0)      { -        return (AE_NOT_ACQUIRED); +        return_ACPI_STATUS (AE_NOT_ACQUIRED);      }      /* Match multiple Acquires with multiple Releases */ @@ -515,7 +514,7 @@ AcpiExReleaseAllMutexes (      ACPI_OPERAND_OBJECT     *ObjDesc; -    ACPI_FUNCTION_ENTRY (); +    ACPI_FUNCTION_NAME (ExReleaseAllMutexes);      /* Traverse the list of owned mutexes, releasing each one */ @@ -529,6 +528,9 @@ AcpiExReleaseAllMutexes (          ObjDesc->Mutex.Next = NULL;          ObjDesc->Mutex.AcquisitionDepth = 0; +        ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, +            "Force-releasing held mutex: %p\n", ObjDesc)); +          /* Release the mutex, special case for Global Lock */          if (ObjDesc == AcpiGbl_GlobalLockMutex) diff --git a/source/components/executer/exnames.c b/source/components/executer/exnames.c index c3cb6b0b4cadb..0d0b6e2da0ac5 100644 --- a/source/components/executer/exnames.c +++ b/source/components/executer/exnames.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exnames - interpreter/scanner name load/execute @@ -73,7 +72,7 @@ AcpiExNameSegment (   *                                    (-1)==root,  0==none   *              NumNameSegs         - count of 4-character name segments   * - * RETURN:      A pointer to the allocated string segment.  This segment must + * RETURN:      A pointer to the allocated string segment. This segment must   *              be deleted by the caller.   *   * DESCRIPTION: Allocate a buffer for a name string. Ensure allocated name @@ -484,5 +483,3 @@ AcpiExGetNameString (      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exoparg1.c b/source/components/executer/exoparg1.c index 9a6cd9fcab754..6f683cd5df476 100644 --- a/source/components/executer/exoparg1.c +++ b/source/components/executer/exoparg1.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exoparg1 - AML execution - opcodes with 1 argument @@ -668,7 +667,7 @@ AcpiExOpcode_1A_0T_1R (          }          /* -         * Set result to ONES (TRUE) if Value == 0.  Note: +         * Set result to ONES (TRUE) if Value == 0. Note:           * ReturnDesc->Integer.Value is initially == 0 (FALSE) from above.           */          if (!Operand[0]->Integer.Value) @@ -682,7 +681,7 @@ AcpiExOpcode_1A_0T_1R (      case AML_INCREMENT_OP:          /* Increment (Operand)  */          /* -         * Create a new integer.  Can't just get the base integer and +         * Create a new integer. Can't just get the base integer and           * increment it because it may be an Arg or Field.           */          ReturnDesc = AcpiUtCreateInternalObject (ACPI_TYPE_INTEGER); @@ -750,7 +749,7 @@ AcpiExOpcode_1A_0T_1R (          /*           * Note: The operand is not resolved at this point because we want to -         * get the associated object, not its value.  For example, we don't +         * get the associated object, not its value. For example, we don't           * want to resolve a FieldUnit to its value, we want the actual           * FieldUnit object.           */ @@ -792,7 +791,7 @@ AcpiExOpcode_1A_0T_1R (          /*           * The type of the base object must be integer, buffer, string, or -         * package.  All others are not supported. +         * package. All others are not supported.           *           * NOTE: Integer is not specifically supported by the ACPI spec,           * but is supported implicitly via implicit operand conversion. @@ -1030,7 +1029,7 @@ AcpiExOpcode_1A_0T_1R (                  case ACPI_TYPE_PACKAGE:                      /* -                     * Return the referenced element of the package.  We must +                     * Return the referenced element of the package. We must                       * add another reference to the referenced object, however.                       */                      ReturnDesc = *(Operand[0]->Reference.Where); @@ -1108,4 +1107,3 @@ Cleanup:      return_ACPI_STATUS (Status);  } - diff --git a/source/components/executer/exoparg2.c b/source/components/executer/exoparg2.c index b76da75c49d4c..6ff7c49b6c085 100644 --- a/source/components/executer/exoparg2.c +++ b/source/components/executer/exoparg2.c @@ -137,7 +137,7 @@ AcpiExOpcode_2A_0T_0R (          /*           * Dispatch the notify to the appropriate handler           * NOTE: the request is queued for execution after this method -         * completes.  The notify handlers are NOT invoked synchronously +         * completes. The notify handlers are NOT invoked synchronously           * from this thread -- because handlers may in turn run other           * control methods.           */ @@ -638,5 +638,3 @@ Cleanup:      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exoparg3.c b/source/components/executer/exoparg3.c index 0edac68e60abc..42aae03f133ae 100644 --- a/source/components/executer/exoparg3.c +++ b/source/components/executer/exoparg3.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exoparg3 - AML execution - opcodes with 3 arguments @@ -179,7 +178,7 @@ AcpiExOpcode_3A_1T_1R (      case AML_MID_OP:    /* Mid (Source[0], Index[1], Length[2], Result[3]) */          /* -         * Create the return object.  The Source operand is guaranteed to be +         * Create the return object. The Source operand is guaranteed to be           * either a String or a Buffer, so just use its type.           */          ReturnDesc = AcpiUtCreateInternalObject ( @@ -300,5 +299,3 @@ Cleanup:      }      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exoparg6.c b/source/components/executer/exoparg6.c index bfc6585301f63..b667815cf1999 100644 --- a/source/components/executer/exoparg6.c +++ b/source/components/executer/exoparg6.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exoparg6 - AML execution - opcodes with 6 arguments @@ -209,7 +208,7 @@ AcpiExDoMatch (          return (FALSE);      } -    return LogicalResult; +    return (LogicalResult);  } @@ -288,7 +287,7 @@ AcpiExOpcode_6A_0T_1R (           * and the next should be examined.           *           * Upon finding a match, the loop will terminate via "break" at -         * the bottom.  If it terminates "normally", MatchValue will be +         * the bottom. If it terminates "normally", MatchValue will be           * ACPI_UINT64_MAX (Ones) (its initial value) indicating that no           * match was found.           */ diff --git a/source/components/executer/exprep.c b/source/components/executer/exprep.c index 6b8f69130ccda..2f62e9db4257e 100644 --- a/source/components/executer/exprep.c +++ b/source/components/executer/exprep.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities @@ -87,8 +86,8 @@ AcpiExGenerateAccess (   *              AnyAcc keyword.   *   * NOTE: Need to have the RegionLength in order to check for boundary - *       conditions (end-of-region).  However, the RegionLength is a deferred - *       operation.  Therefore, to complete this implementation, the generation + *       conditions (end-of-region). However, the RegionLength is a deferred + *       operation. Therefore, to complete this implementation, the generation   *       of this access width must be deferred until the region length has   *       been evaluated.   * @@ -326,7 +325,7 @@ AcpiExDecodeFieldAccess (   * RETURN:      Status   *   * DESCRIPTION: Initialize the areas of the field object that are common - *              to the various types of fields.  Note: This is very "sensitive" + *              to the various types of fields. Note: This is very "sensitive"   *              code because we are solving the general case for field   *              alignment.   * @@ -358,13 +357,13 @@ AcpiExPrepCommonFieldObject (      ObjDesc->CommonField.BitLength  = FieldBitLength;      /* -     * Decode the access type so we can compute offsets.  The access type gives +     * Decode the access type so we can compute offsets. The access type gives       * two pieces of information - the width of each field access and the       * necessary ByteAlignment (address granularity) of the access.       *       * For AnyAcc, the AccessBitWidth is the largest width that is both       * necessary and possible in an attempt to access the whole field in one -     * I/O operation.  However, for AnyAcc, the ByteAlignment is always one +     * I/O operation. However, for AnyAcc, the ByteAlignment is always one       * byte.       *       * For all Buffer Fields, the ByteAlignment is always one byte. @@ -386,7 +385,7 @@ AcpiExPrepCommonFieldObject (      /*       * BaseByteOffset is the address of the start of the field within the -     * region.  It is the byte address of the first *datum* (field-width data +     * region. It is the byte address of the first *datum* (field-width data       * unit) of the field. (i.e., the first datum that contains at least the       * first *bit* of the field.)       * @@ -645,4 +644,3 @@ AcpiExPrepFieldValue (      AcpiUtRemoveReference (ObjDesc);      return_ACPI_STATUS (Status);  } - diff --git a/source/components/executer/exregion.c b/source/components/executer/exregion.c index 8a40250794e7d..f3120465be492 100644 --- a/source/components/executer/exregion.c +++ b/source/components/executer/exregion.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exregion - ACPI default OpRegion (address space) handlers @@ -220,7 +219,7 @@ AcpiExSystemMemorySpaceHandler (       * Perform the memory read or write       *       * Note: For machines that do not support non-aligned transfers, the target -     * address was checked for alignment above.  We do not attempt to break the +     * address was checked for alignment above. We do not attempt to break the       * transfer up into smaller (byte-size) chunks because the AML specifically       * asked for a transfer width that the hardware may require.       */ @@ -561,5 +560,3 @@ AcpiExDataTableSpaceHandler (      return_ACPI_STATUS (AE_OK);  } - - diff --git a/source/components/executer/exresnte.c b/source/components/executer/exresnte.c index 03962edf9705f..d20b15ffb3e1b 100644 --- a/source/components/executer/exresnte.c +++ b/source/components/executer/exresnte.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exresnte - AML Interpreter object resolution @@ -62,8 +61,8 @@   * PARAMETERS:  ObjectPtr       - Pointer to a location that contains   *                                a pointer to a NS node, and will receive a   *                                pointer to the resolved object. - *              WalkState       - Current state.  Valid only if executing AML - *                                code.  NULL if simply resolving an object + *              WalkState       - Current state. Valid only if executing AML + *                                code. NULL if simply resolving an object   *   * RETURN:      Status   * @@ -71,7 +70,7 @@   *   * Note: for some of the data types, the pointer attached to the Node   * can be either a pointer to an actual internal object or a pointer into the - * AML stream itself.  These types are currently: + * AML stream itself. These types are currently:   *   *      ACPI_TYPE_INTEGER   *      ACPI_TYPE_STRING @@ -98,7 +97,7 @@ AcpiExResolveNodeToValue (      /* -     * 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.       */      Node       = *ObjectPtr; @@ -298,5 +297,3 @@ AcpiExResolveNodeToValue (      *ObjectPtr = (void *) ObjDesc;      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exresolv.c b/source/components/executer/exresolv.c index 72286b0e8587d..4421b17fa6970 100644 --- a/source/components/executer/exresolv.c +++ b/source/components/executer/exresolv.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exresolv - AML Interpreter object resolution @@ -349,7 +348,7 @@ AcpiExResolveObjectToValue (   *   * RETURN:      Status   * - * DESCRIPTION: Return the base object and type.  Traverse a reference list if + * DESCRIPTION: Return the base object and type. Traverse a reference list if   *              necessary to get to the base object.   *   ******************************************************************************/ @@ -576,5 +575,3 @@ Exit:      }      return_ACPI_STATUS (AE_OK);  } - - diff --git a/source/components/executer/exresop.c b/source/components/executer/exresop.c index 1bcba690333b5..a9e0caf55031c 100644 --- a/source/components/executer/exresop.c +++ b/source/components/executer/exresop.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exresop - AML Interpreter operand/object resolution @@ -98,7 +97,7 @@ AcpiExCheckObjectType (      {          /*           * Allow the AML "Constant" opcodes (Zero, One, etc.) to be reference -         * objects and thus allow them to be targets.  (As per the ACPI +         * objects and thus allow them to be targets. (As per the ACPI           * specification, a store to a constant is a noop.)           */          if ((ThisType == ACPI_TYPE_INTEGER) && @@ -674,7 +673,7 @@ AcpiExResolveOperands (                  {                      /*                       * Enable original behavior of Store(), allowing any and all -                     * objects as the source operand.  The ACPI spec does not +                     * objects as the source operand. The ACPI spec does not                       * allow this, however.                       */                      break; @@ -734,5 +733,3 @@ NextOperand:      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exstore.c b/source/components/executer/exstore.c index 3a88811950b08..283cff59864f9 100644 --- a/source/components/executer/exstore.c +++ b/source/components/executer/exstore.c @@ -398,7 +398,7 @@ AcpiExStoreObjectToIndex (   *              with the input value.   *   *              When storing into an object the data is converted to the - *              target object type then stored in the object.  This means + *              target object type then stored in the object. This means   *              that the target object type (for an initialized target) will   *              not be changed by a store operation.   * @@ -518,7 +518,7 @@ AcpiExStoreObjectToNode (              "Storing %s (%p) directly into node (%p) with no implicit conversion\n",              AcpiUtGetObjectTypeName (SourceDesc), SourceDesc, Node)); -        /* No conversions for all other types.  Just attach the source object */ +        /* No conversions for all other types. Just attach the source object */          Status = AcpiNsAttachObject (Node, SourceDesc,                      SourceDesc->Common.Type); @@ -527,5 +527,3 @@ AcpiExStoreObjectToNode (      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exstoren.c b/source/components/executer/exstoren.c index 464d6b106504d..84699b67adf22 100644 --- a/source/components/executer/exstoren.c +++ b/source/components/executer/exstoren.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exstoren - AML Interpreter object store support, @@ -65,7 +64,7 @@   *   * RETURN:      Status, resolved object in SourceDescPtr.   * - * DESCRIPTION: Resolve an object.  If the object is a reference, dereference + * DESCRIPTION: Resolve an object. If the object is a reference, dereference   *              it and return the actual object in the SourceDescPtr.   *   ******************************************************************************/ @@ -102,7 +101,7 @@ AcpiExResolveObject (          /*           * Stores into a Field/Region or into a Integer/Buffer/String -         * are all essentially the same.  This case handles the +         * are all essentially the same. This case handles the           * "interchangeable" types Integer, String, and Buffer.           */          if (SourceDesc->Common.Type == ACPI_TYPE_LOCAL_REFERENCE) @@ -179,7 +178,7 @@ AcpiExResolveObject (   *   * RETURN:      Status   * - * DESCRIPTION: "Store" an object to another object.  This may include + * DESCRIPTION: "Store" an object to another object. This may include   *              converting the source type to the target type (implicit   *              conversion), and a copy of the value of the source to   *              the target. @@ -190,14 +189,14 @@ AcpiExResolveObject (   *              with the input value.   *   *              When storing into an object the data is converted to the - *              target object type then stored in the object.  This means + *              target object type then stored in the object. This means   *              that the target object type (for an initialized target) will   *              not be changed by a store operation.   *   *              This module allows destination types of Number, String,   *              Buffer, and Package.   * - *              Assumes parameters are already validated.  NOTE: SourceDesc + *              Assumes parameters are already validated. NOTE: SourceDesc   *              resolution (from a reference object) must be performed by   *              the caller if necessary.   * @@ -310,5 +309,3 @@ AcpiExStoreObjectToObject (      *NewDesc = DestDesc;      return_ACPI_STATUS (Status);  } - - diff --git a/source/components/executer/exstorob.c b/source/components/executer/exstorob.c index e74d5b3485fcb..e7166d5ddee26 100644 --- a/source/components/executer/exstorob.c +++ b/source/components/executer/exstorob.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exstorob - AML Interpreter object store support, store to object @@ -118,7 +117,7 @@ AcpiExStoreBufferToBuffer (  #ifdef ACPI_OBSOLETE_BEHAVIOR          /*           * NOTE: ACPI versions up to 3.0 specified that the buffer must be -         * truncated if the string is smaller than the buffer.  However, "other" +         * truncated if the string is smaller than the buffer. However, "other"           * implementations of ACPI never did this and thus became the defacto           * standard. ACPI 3.0A changes this behavior such that the buffer           * is no longer truncated. @@ -127,7 +126,7 @@ AcpiExStoreBufferToBuffer (          /*           * OBSOLETE BEHAVIOR:           * If the original source was a string, we must truncate the buffer, -         * according to the ACPI spec.  Integer-to-Buffer and Buffer-to-Buffer +         * according to the ACPI spec. Integer-to-Buffer and Buffer-to-Buffer           * copy must not truncate the original buffer.           */          if (OriginalSrcType == ACPI_TYPE_STRING) @@ -240,5 +239,3 @@ AcpiExStoreStringToString (      TargetDesc->String.Length = Length;      return_ACPI_STATUS (AE_OK);  } - - diff --git a/source/components/executer/exsystem.c b/source/components/executer/exsystem.c index 37f5b234a3737..bbb8e188ef402 100644 --- a/source/components/executer/exsystem.c +++ b/source/components/executer/exsystem.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exsystem - Interface to OS services @@ -62,7 +61,7 @@   * RETURN:      Status   *   * DESCRIPTION: Implements a semaphore wait with a check to see if the - *              semaphore is available immediately.  If it is not, the + *              semaphore is available immediately. If it is not, the   *              interpreter is released before waiting.   *   ******************************************************************************/ @@ -115,7 +114,7 @@ AcpiExSystemWaitSemaphore (   * RETURN:      Status   *   * DESCRIPTION: Implements a mutex wait with a check to see if the - *              mutex is available immediately.  If it is not, the + *              mutex is available immediately. If it is not, the   *              interpreter is released before waiting.   *   ******************************************************************************/ @@ -170,7 +169,7 @@ AcpiExSystemWaitMutex (   * DESCRIPTION: Suspend running thread for specified amount of time.   *              Note: ACPI specification requires that Stall() does not   *              relinquish the processor, and delays longer than 100 usec - *              should use Sleep() instead.  We allow stalls up to 255 usec + *              should use Sleep() instead. We allow stalls up to 255 usec   *              for compatibility with other interpreters and existing BIOSs.   *   ******************************************************************************/ @@ -290,7 +289,7 @@ AcpiExSystemSignalEvent (   * RETURN:      Status   *   * DESCRIPTION: Provides an access point to perform synchronization operations - *              within the AML.  This operation is a request to wait for an + *              within the AML. This operation is a request to wait for an   *              event.   *   ******************************************************************************/ @@ -352,4 +351,3 @@ AcpiExSystemResetEvent (      return (Status);  } - diff --git a/source/components/executer/exutils.c b/source/components/executer/exutils.c index faf34fca1cfff..12befff2e7e62 100644 --- a/source/components/executer/exutils.c +++ b/source/components/executer/exutils.c @@ -1,4 +1,3 @@ -  /******************************************************************************   *   * Module Name: exutils - interpreter/scanner utilities @@ -47,12 +46,12 @@  /*   * DEFINE_AML_GLOBALS is tested in amlcode.h   * to determine whether certain global names should be "defined" or only - * "declared" in the current compilation.  This enhances maintainability + * "declared" in the current compilation. This enhances maintainability   * by enabling a single header file to embody all knowledge of the names   * in question.   *   * Exactly one module of any executable should #define DEFINE_GLOBALS - * before #including the header files which use this convention.  The + * before #including the header files which use this convention. The   * names in question will be defined and initialized in that module,   * and declared as extern in all other modules which #include those   * header files. | 
