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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/acpica/events/evxfregn.c
          +++ new/usr/src/common/acpica/components/events/evxfregn.c
   1    1  /******************************************************************************
   2    2   *
   3    3   * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
   4    4   *                         Address Spaces.
   5    5   *
   6    6   *****************************************************************************/
   7    7  
   8    8  /*
   9      - * Copyright (C) 2000 - 2011, Intel Corp.
        9 + * Copyright (C) 2000 - 2013, Intel Corp.
  10   10   * All rights reserved.
  11   11   *
  12   12   * Redistribution and use in source and binary forms, with or without
  13   13   * modification, are permitted provided that the following conditions
  14   14   * are met:
  15   15   * 1. Redistributions of source code must retain the above copyright
  16   16   *    notice, this list of conditions, and the following disclaimer,
  17   17   *    without modification.
  18   18   * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  19   19   *    substantially similar to the "NO WARRANTY" disclaimer below
↓ open down ↓ 16 lines elided ↑ open up ↑
  36   36   * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  37   37   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  38   38   * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  39   39   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  40   40   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  41   41   * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  42   42   * POSSIBILITY OF SUCH DAMAGES.
  43   43   */
  44   44  
  45   45  #define __EVXFREGN_C__
       46 +#define EXPORT_ACPI_INTERFACES
  46   47  
  47   48  #include "acpi.h"
  48   49  #include "accommon.h"
  49   50  #include "acnamesp.h"
  50   51  #include "acevents.h"
  51   52  
  52   53  #define _COMPONENT          ACPI_EVENTS
  53   54          ACPI_MODULE_NAME    ("evxfregn")
  54   55  
  55   56  
↓ open down ↓ 86 lines elided ↑ open up ↑
 142  143      case ACPI_ADR_SPACE_DATA_TABLE:
 143  144  
 144  145          if (!AcpiGbl_RegMethodsExecuted)
 145  146          {
 146  147              /* We will defer execution of the _REG methods for this space */
 147  148              goto UnlockAndExit;
 148  149          }
 149  150          break;
 150  151  
 151  152      default:
      153 +
 152  154          break;
 153  155      }
 154  156  
 155  157      /* Run all _REG methods for this address space */
 156  158  
 157  159      Status = AcpiEvExecuteRegMethods (Node, SpaceId);
 158  160  
 159  161  
 160  162  UnlockAndExit:
 161  163      (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE);
↓ open down ↓ 141 lines elided ↑ open up ↑
 303  305          Handler, AcpiUtGetRegionName (SpaceId), SpaceId, Node, ObjDesc));
 304  306  
 305  307      Status = AE_NOT_EXIST;
 306  308  
 307  309  UnlockAndExit:
 308  310      (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE);
 309  311      return_ACPI_STATUS (Status);
 310  312  }
 311  313  
 312  314  ACPI_EXPORT_SYMBOL (AcpiRemoveAddressSpaceHandler)
 313      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX