Print this page
update to acpica-unix2-20140114
acpica-unix2-20130823
PANKOVs restructure

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/acpica/dispatcher/dsopcode.c
          +++ new/usr/src/common/acpica/components/dispatcher/dsopcode.c
   1    1  /******************************************************************************
   2    2   *
   3      - * Module Name: dsopcode - Dispatcher suport for regions and fields
        3 + * Module Name: dsopcode - Dispatcher support for regions and fields
   4    4   *
   5    5   *****************************************************************************/
   6    6  
   7    7  /*
   8      - * Copyright (C) 2000 - 2011, Intel Corp.
        8 + * Copyright (C) 2000 - 2014, Intel Corp.
   9    9   * All rights reserved.
  10   10   *
  11   11   * Redistribution and use in source and binary forms, with or without
  12   12   * modification, are permitted provided that the following conditions
  13   13   * are met:
  14   14   * 1. Redistributions of source code must retain the above copyright
  15   15   *    notice, this list of conditions, and the following disclaimer,
  16   16   *    without modification.
  17   17   * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  18   18   *    substantially similar to the "NO WARRANTY" disclaimer below
↓ open down ↓ 497 lines elided ↑ open up ↑
 516  516      ACPI_NAMESPACE_NODE     *Node;
 517  517      ACPI_PARSE_OBJECT       *NextOp;
 518  518      UINT32                  TableIndex;
 519  519      ACPI_TABLE_HEADER       *Table;
 520  520  
 521  521  
 522  522      ACPI_FUNCTION_TRACE_PTR (DsEvalTableRegionOperands, Op);
 523  523  
 524  524  
 525  525      /*
 526      -     * This is where we evaluate the SignatureString and OemIDString
 527      -     * and OemTableIDString of the DataTableRegion declaration
      526 +     * This is where we evaluate the Signature string, OemId string,
      527 +     * and OemTableId string of the Data Table Region declaration
 528  528       */
 529  529      Node =  Op->Common.Node;
 530  530  
 531      -    /* NextOp points to SignatureString op */
      531 +    /* NextOp points to Signature string op */
 532  532  
 533  533      NextOp = Op->Common.Value.Arg;
 534  534  
 535  535      /*
 536      -     * Evaluate/create the SignatureString and OemIDString
 537      -     * and OemTableIDString operands
      536 +     * Evaluate/create the Signature string, OemId string,
      537 +     * and OemTableId string operands
 538  538       */
 539  539      Status = AcpiDsCreateOperands (WalkState, NextOp);
 540  540      if (ACPI_FAILURE (Status))
 541  541      {
 542  542          return_ACPI_STATUS (Status);
 543  543      }
 544  544  
 545  545      /*
 546      -     * Resolve the SignatureString and OemIDString
 547      -     * and OemTableIDString operands
      546 +     * Resolve the Signature string, OemId string,
      547 +     * and OemTableId string operands
 548  548       */
 549  549      Status = AcpiExResolveOperands (Op->Common.AmlOpcode,
 550  550                  ACPI_WALK_OPERANDS, WalkState);
 551  551      if (ACPI_FAILURE (Status))
 552  552      {
 553  553          return_ACPI_STATUS (Status);
 554  554      }
 555  555  
 556  556      Operand = &WalkState->Operands[0];
 557  557  
↓ open down ↓ 115 lines elided ↑ open up ↑
 673  673          Status = AcpiDsBuildInternalBufferObj (WalkState, Op, Length, &ObjDesc);
 674  674          break;
 675  675  
 676  676      case AML_PACKAGE_OP:
 677  677      case AML_VAR_PACKAGE_OP:
 678  678  
 679  679          Status = AcpiDsBuildInternalPackageObj (WalkState, Op, Length, &ObjDesc);
 680  680          break;
 681  681  
 682  682      default:
      683 +
 683  684          return_ACPI_STATUS (AE_AML_BAD_OPCODE);
 684  685      }
 685  686  
 686  687      if (ACPI_SUCCESS (Status))
 687  688      {
 688  689          /*
 689  690           * Return the object in the WalkState, unless the parent is a package -
 690  691           * in this case, the return object will be stored in the parse tree
 691  692           * for the package.
 692  693           */
↓ open down ↓ 106 lines elided ↑ open up ↑
 799  800          }
 800  801  
 801  802          /* Move to next field in the list */
 802  803  
 803  804          Arg = Arg->Common.Next;
 804  805      }
 805  806  
 806  807      AcpiUtRemoveReference (OperandDesc);
 807  808      return_ACPI_STATUS (Status);
 808  809  }
 809      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX