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/namespace/nsparse.c
          +++ new/usr/src/common/acpica/components/namespace/nsparse.c
   1    1  /******************************************************************************
   2    2   *
   3    3   * Module Name: nsparse - namespace interface to AML parser
   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 ↓ 161 lines elided ↑ open up ↑
 180  180  {
 181  181      ACPI_STATUS             Status;
 182  182  
 183  183  
 184  184      ACPI_FUNCTION_TRACE (NsParseTable);
 185  185  
 186  186  
 187  187      /*
 188  188       * AML Parse, pass 1
 189  189       *
 190      -     * In this pass, we load most of the namespace.  Control methods
 191      -     * are not parsed until later.  A parse tree is not created.  Instead,
 192      -     * each Parser Op subtree is deleted when it is finished.  This saves
      190 +     * In this pass, we load most of the namespace. Control methods
      191 +     * are not parsed until later. A parse tree is not created. Instead,
      192 +     * each Parser Op subtree is deleted when it is finished. This saves
 193  193       * a great deal of memory, and allows a small cache of parse objects
 194      -     * to service the entire parse.  The second pass of the parse then
      194 +     * to service the entire parse. The second pass of the parse then
 195  195       * performs another complete parse of the AML.
 196  196       */
 197  197      ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "**** Start pass 1\n"));
 198  198      Status = AcpiNsOneCompleteParse (ACPI_IMODE_LOAD_PASS1,
 199  199                  TableIndex, StartNode);
 200  200      if (ACPI_FAILURE (Status))
 201  201      {
 202  202          return_ACPI_STATUS (Status);
 203  203      }
 204  204  
↓ open down ↓ 9 lines elided ↑ open up ↑
 214  214      ACPI_DEBUG_PRINT ((ACPI_DB_PARSE, "**** Start pass 2\n"));
 215  215      Status = AcpiNsOneCompleteParse (ACPI_IMODE_LOAD_PASS2,
 216  216                  TableIndex, StartNode);
 217  217      if (ACPI_FAILURE (Status))
 218  218      {
 219  219          return_ACPI_STATUS (Status);
 220  220      }
 221  221  
 222  222      return_ACPI_STATUS (Status);
 223  223  }
 224      -
 225      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX