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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/io/acpica/namespace/nsxfobj.c
          +++ new/usr/src/common/acpica/components/namespace/nsxfobj.c
   1    1  /*******************************************************************************
   2    2   *
   3    3   * Module Name: nsxfobj - Public interfaces to the ACPI subsystem
   4    4   *                         ACPI Object oriented interfaces
   5    5   *
   6    6   ******************************************************************************/
   7    7  
   8    8  /*
   9      - * Copyright (C) 2000 - 2011, Intel Corp.
        9 + * Copyright (C) 2000 - 2014, 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 ↓ 17 lines elided ↑ open up ↑
  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  
  46   46  #define __NSXFOBJ_C__
       47 +#define EXPORT_ACPI_INTERFACES
  47   48  
  48   49  #include "acpi.h"
  49   50  #include "accommon.h"
  50   51  #include "acnamesp.h"
  51   52  
  52   53  
  53   54  #define _COMPONENT          ACPI_NAMESPACE
  54   55          ACPI_MODULE_NAME    ("nsxfobj")
  55   56  
  56   57  /*******************************************************************************
↓ open down ↓ 138 lines elided ↑ open up ↑
 195  196   * FUNCTION:    AcpiGetNextObject
 196  197   *
 197  198   * PARAMETERS:  Type            - Type of object to be searched for
 198  199   *              Parent          - Parent object whose children we are getting
 199  200   *              LastChild       - Previous child that was found.
 200  201   *                                The NEXT child will be returned
 201  202   *              RetHandle       - Where handle to the next object is placed
 202  203   *
 203  204   * RETURN:      Status
 204  205   *
 205      - * DESCRIPTION: Return the next peer object within the namespace.  If Handle is
 206      - *              valid, Scope is ignored.  Otherwise, the first object within
      206 + * DESCRIPTION: Return the next peer object within the namespace. If Handle is
      207 + *              valid, Scope is ignored. Otherwise, the first object within
 207  208   *              Scope is returned.
 208  209   *
 209  210   ******************************************************************************/
 210  211  
 211  212  ACPI_STATUS
 212  213  AcpiGetNextObject (
 213  214      ACPI_OBJECT_TYPE        Type,
 214  215      ACPI_HANDLE             Parent,
 215  216      ACPI_HANDLE             Child,
 216  217      ACPI_HANDLE             *RetHandle)
↓ open down ↓ 58 lines elided ↑ open up ↑
 275  276      }
 276  277  
 277  278  
 278  279  UnlockAndExit:
 279  280  
 280  281      (void) AcpiUtReleaseMutex (ACPI_MTX_NAMESPACE);
 281  282      return (Status);
 282  283  }
 283  284  
 284  285  ACPI_EXPORT_SYMBOL (AcpiGetNextObject)
 285      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX