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/hardware/hwvalid.c
          +++ new/usr/src/common/acpica/components/hardware/hwvalid.c
   1      -
   2    1  /******************************************************************************
   3    2   *
   4    3   * Module Name: hwvalid - I/O request validation
   5    4   *
   6    5   *****************************************************************************/
   7    6  
   8    7  /*
   9      - * Copyright (C) 2000 - 2011, Intel Corp.
        8 + * Copyright (C) 2000 - 2014, Intel Corp.
  10    9   * All rights reserved.
  11   10   *
  12   11   * Redistribution and use in source and binary forms, with or without
  13   12   * modification, are permitted provided that the following conditions
  14   13   * are met:
  15   14   * 1. Redistributions of source code must retain the above copyright
  16   15   *    notice, this list of conditions, and the following disclaimer,
  17   16   *    without modification.
  18   17   * 2. Redistributions in binary form must reproduce at minimum a disclaimer
  19   18   *    substantially similar to the "NO WARRANTY" disclaimer below
↓ open down ↓ 122 lines elided ↑ open up ↑
 142  141  
 143  142      ACPI_FUNCTION_TRACE (HwValidateIoRequest);
 144  143  
 145  144  
 146  145      /* Supported widths are 8/16/32 */
 147  146  
 148  147      if ((BitWidth != 8) &&
 149  148          (BitWidth != 16) &&
 150  149          (BitWidth != 32))
 151  150      {
      151 +        ACPI_ERROR ((AE_INFO,
      152 +            "Bad BitWidth parameter: %8.8X", BitWidth));
 152  153          return (AE_BAD_PARAMETER);
 153  154      }
 154  155  
 155  156      PortInfo = AcpiProtectedPorts;
 156  157      ByteWidth = ACPI_DIV_8 (BitWidth);
 157  158      LastAddress = Address + ByteWidth - 1;
 158  159  
 159  160      ACPI_DEBUG_PRINT ((ACPI_DB_IO, "Address %p LastAddress %p Length %X",
 160  161          ACPI_CAST_PTR (void, Address), ACPI_CAST_PTR (void, LastAddress),
 161  162          ByteWidth));
↓ open down ↓ 193 lines elided ↑ open up ↑
 355  356              {
 356  357                  return (Status);
 357  358              }
 358  359          }
 359  360  
 360  361          Address++;
 361  362      }
 362  363  
 363  364      return (AE_OK);
 364  365  }
 365      -
 366      -
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX