1. 13 Jun, 2006 1 commit
    • Bob Moore's avatar
      [ACPI] ACPICA 20060317 · 61686124
      Bob Moore authored
      Implemented the use of a cache object for all internal
      namespace nodes. Since there are about 1000 static nodes
      in a typical system, this will decrease memory use for
      cache implementations that minimize per-allocation overhead
      (such as a slab allocator.)
      
      Removed the reference count mechanism for internal
      namespace nodes, since it was deemed unnecessary. This
      reduces the size of each namespace node by about 5%-10%
      on all platforms. Nodes are now 20 bytes for the 32-bit
      case, and 32 bytes for the 64-bit case.
      
      Optimized several internal data structures to reduce
      object size on 64-bit platforms by packing data within
      the 64-bit alignment. This includes the frequently used
      ACPI_OPERAND_OBJECT, of which there can be ~1000 static
      instances corresponding to the namespace objects.
      
      Added two new strings for the predefined _OSI method:
      "Windows 2001.1 SP1" and "Windows 2006".
      
      Split the allocation tracking mechanism out to a separate
      file, from utalloc.c to uttrack.c. This mechanism appears
      to be only useful for application-level code. Kernels may
      wish to not include uttrack.c in distributions.
      
      Removed all remnants of the obsolete ACPI_REPORT_* macros
      and the associated code. (These macros have been replaced
      by the ACPI_ERROR and ACPI_WARNING macros.)
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      61686124
  2. 01 Apr, 2006 3 commits
  3. 31 Mar, 2006 4 commits
    • Bob Moore's avatar
      ACPI: ACPICA 20060310 · 8313524a
      Bob Moore authored
      Tagged all external interfaces to the subsystem with the
      new ACPI_EXPORT_SYMBOL macro. This macro can be defined
      as necessary to assist kernel integration. For Linux,
      the macro resolves to the EXPORT_SYMBOL macro. The default
      definition is NULL.
      
      Added the ACPI_THREAD_ID type for the return value from
      acpi_os_get_thread_id(). This allows the host to define this
      as necessary to simplify kernel integration. The default
      definition is ACPI_NATIVE_UINT.
      
      Valery Podrezov fixed two interpreter problems related
      to error processing, the deletion of objects, and placing
      invalid pointers onto the internal operator result stack.
      http://bugzilla.kernel.org/show_bug.cgi?id=6028
      http://bugzilla.kernel.org/show_bug.cgi?id=6151
      
      Increased the reference count threshold where a warning is
      emitted for large reference counts in order to eliminate
      unnecessary warnings on systems with large namespaces
      (especially 64-bit.) Increased the value from 0x400
      to 0x800.
      
      Due to universal disagreement as to the meaning of the
      'c' in the calloc() function, the ACPI_MEM_CALLOCATE
      macro has been renamed to ACPI_ALLOCATE_ZEROED so that the
      purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and
      ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      8313524a
    • Bob Moore's avatar
      ACPI: ACPICA 20060217 · ea936b78
      Bob Moore authored
      Implemented a change to the IndexField support to match
      the behavior of the Microsoft AML interpreter. The value
      written to the Index register is now a byte offset,
      no longer an index based upon the width of the Data
      register. This should fix IndexField problems seen on
      some machines where the Data register is not exactly one
      byte wide. The ACPI specification will be clarified on
      this point.
      
      Fixed a problem where several resource descriptor
      types could overrun the internal descriptor buffer due
      to size miscalculation: VendorShort, VendorLong, and
      Interrupt. This was noticed on IA64 machines, but could
      affect all platforms.
      
      Fixed a problem where individual resource descriptors were
      misaligned within the internal buffer, causing alignment
      faults on IA64 platforms.
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      ea936b78
    • Bob Moore's avatar
      [ACPI] ACPICA 20060210 · 52fc0b02
      Bob Moore authored
      Removed a couple of extraneous ACPI_ERROR messages that
      appeared during normal execution. These became apparent
      after the conversion from ACPI_DEBUG_PRINT.
      
      Fixed a problem where the CreateField operator could hang
      if the BitIndex or NumBits parameter referred to a named
      object. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5359
      
      Fixed a problem where a DeRefOf operation on a buffer
      object incorrectly failed with an exception. This also
      fixes a couple of related RefOf and DeRefOf issues.
      From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5360
      http://bugzilla.kernel.org/show_bug.cgi?id=5387
      http://bugzilla.kernel.org/show_bug.cgi?id=5392
      
      Fixed a problem where the AE_BUFFER_LIMIT exception was
      returned instead of AE_STRING_LIMIT on an out-of-bounds
      Index() operation. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5480
      
      Implemented a memory cleanup at the end of the execution
      of each iteration of an AML While() loop, preventing the
      accumulation of outstanding objects. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5427
      
      Eliminated a chunk of duplicate code in the object
      resolution code. From Valery Podrezov.
      http://bugzilla.kernel.org/show_bug.cgi?id=5336
      
      Fixed several warnings during the 64-bit code generation.
      Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      52fc0b02
    • Len Brown's avatar
      Revert "[PATCH] ACPI: fix vendor resource length computation" · 46358614
      Len Brown authored
      fixed in a different way by a subsequent ACPICA patch
      
      This reverts 35b73ceb commit.
      46358614
  4. 30 Mar, 2006 32 commits