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/dsinit.c
          +++ new/usr/src/common/acpica/components/dispatcher/dsinit.c
   1    1  /******************************************************************************
   2    2   *
   3    3   * Module Name: dsinit - Object initialization namespace walk
   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 ↓ 47 lines elided ↑ open up ↑
  66   66   *
  67   67   * FUNCTION:    AcpiDsInitOneObject
  68   68   *
  69   69   * PARAMETERS:  ObjHandle       - Node for the object
  70   70   *              Level           - Current nesting level
  71   71   *              Context         - Points to a init info struct
  72   72   *              ReturnValue     - Not used
  73   73   *
  74   74   * RETURN:      Status
  75   75   *
  76      - * DESCRIPTION: Callback from AcpiWalkNamespace.  Invoked for every object
       76 + * DESCRIPTION: Callback from AcpiWalkNamespace. Invoked for every object
  77   77   *              within the namespace.
  78   78   *
  79   79   *              Currently, the only objects that require initialization are:
  80   80   *              1) Methods
  81   81   *              2) Operation Regions
  82   82   *
  83   83   ******************************************************************************/
  84   84  
  85   85  static ACPI_STATUS
  86   86  AcpiDsInitOneObject (
↓ open down ↓ 34 lines elided ↑ open up ↑
 121  121          if (ACPI_FAILURE (Status))
 122  122          {
 123  123              ACPI_EXCEPTION ((AE_INFO, Status,
 124  124                  "During Region initialization %p [%4.4s]",
 125  125                  ObjHandle, AcpiUtGetNodeName (ObjHandle)));
 126  126          }
 127  127  
 128  128          Info->OpRegionCount++;
 129  129          break;
 130  130  
 131      -
 132  131      case ACPI_TYPE_METHOD:
 133  132  
 134  133          Info->MethodCount++;
 135  134          break;
 136  135  
 137      -
 138  136      case ACPI_TYPE_DEVICE:
 139  137  
 140  138          Info->DeviceCount++;
 141  139          break;
 142  140  
 143      -
 144  141      default:
      142 +
 145  143          break;
 146  144      }
 147  145  
 148  146      /*
 149  147       * We ignore errors from above, and always return OK, since
 150  148       * we don't want to abort the walk on a single error.
 151  149       */
 152  150      return (AE_OK);
 153  151  }
 154  152  
↓ open down ↓ 72 lines elided ↑ open up ↑
 227  225      ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT,
 228  226          "\nTable [%4.4s](id %4.4X) - %u Objects with %u Devices %u Methods %u Regions\n",
 229  227          Table->Signature, OwnerId, Info.ObjectCount,
 230  228          Info.DeviceCount, Info.MethodCount, Info.OpRegionCount));
 231  229  
 232  230      ACPI_DEBUG_PRINT ((ACPI_DB_DISPATCH,
 233  231          "%u Methods, %u Regions\n", Info.MethodCount, Info.OpRegionCount));
 234  232  
 235  233      return_ACPI_STATUS (AE_OK);
 236  234  }
 237      -
 238      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX