1. 25 Oct, 2004 4 commits
  2. 23 Oct, 2004 1 commit
  3. 22 Oct, 2004 10 commits
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/26-stable-acpica · c232f2a1
      Len Brown authored
      into intel.com:/home/lenb/src/26-stable-dev
      c232f2a1
    • Len Brown's avatar
      [ACPI] fix build warning · 2f294db8
      Len Brown authored
      2f294db8
    • Len Brown's avatar
      [ACPI] ACPICA 20041015 from Bob Moore · b4ec0368
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Note: ACPI CA is currently undergoing an in-depth and
      complete formal evaluation to test/verify the following
      areas. Other suggestions are welcome. This will result in
      an increase in the frequency of releases and the number
      of bug fixes in the next few months.
      
      - Functional tests for all ASL/AML operators
      - All implicit/explicit type conversions
      - Bit fields and operation regions
      - 64-bit math support and 32-bit-only "truncated" math support
      - Exceptional conditions, both compiler and interpreter
      - Dynamic object deletion and memory leaks
      - ACPI 3.0 support when implemented
      - External interfaces to the ACPI subsystem
      
      Fixed two alignment issues on 64-bit platforms -
      within debug statements in acpi_ev_gpe_detect and
      acpi_ev_create_gpe_block. Removed references to the
      Address field within the non-aligned ACPI generic address
      structure.
      
      Fixed a problem in the Increment and Decrement operators
      where incorrect operand resolution could result in the
      inadvertent modification of the original integer when the
      integer is passed into another method as an argument and
      the arg is then incremented/decremented.
      
      Fixed a problem in the FromBCD operator where the upper
      32-bits of a 64-bit BCD number were truncated during
      conversion.
      
      Fixed a problem in the ToDecimal operator where the length
      of the resulting string could be set incorrectly too long
      if the input operand was a Buffer object.
      
      Fixed a problem in the Logical operators (LLess,
      etc.) where a NULL byte (0) within a buffer would
      prematurely terminate a compare between buffer objects.
      
      Added a check for string overflow (>200 characters as per
      the ACPI specification) during the Concatenate operator
      with two string operands.
      b4ec0368
    • Len Brown's avatar
      [ACPI] fix build warning in tables/tbget.c · ee82c878
      Len Brown authored
      ee82c878
    • Len Brown's avatar
      [ACPI] ACPICA 20041006 from Bob Moore · 8f2297b6
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Implemented support for the ACPI 3.0 Timer operator. This
      ASL function implements a 64-bit timer with 100 nanosecond
      granularity.
      
      Defined a new OSL interface, acpi_os_get_timer. This
      interface is used to implement the ACPI 3.0 Timer
      operator. This allows the host OS to implement the timer
      with the best clock available.  Also, it keeps the core
      subsystem out of the clock handling business, since the
      host OS (usually) performs this function.
      
      Fixed an alignment issue on 64-bit platforms. The
      hw_low_level_read/write() functions use a 64-bit address
      which is part of the packed ACPI Generic Address
      Structure. Since the structure is non-aligned, the
      alignment macros are now used to extract the address to
      a local variable before use.
      
      Fixed a problem where the ToInteger operator assumed all
      input strings were hexadecimal. The operator now handles
      both decimal strings and hex strings (prefixed with "0x").
      
      Fixed a problem where the string length in the string
      object created as a result of the internal ConvertToString
      procedure could be incorrect.  This potentially affected
      all implicit conversions and also the ToDecimalString and
      ToHexString operators.
      
      Fixed two problems in the ToString operator. If the
      length parameter was zero, an incorrect string object was
      created and the value of the input length parameter was
      inadvertently changed from zero to Ones.
      
      Fixed a problem where the optional ResourceSource string
      in the ExtendedIRQ resource macro was ignored.
      
      Simplified the interfaces to the internal division
      functions, reducing code size and complexity.
      8f2297b6
    • Len Brown's avatar
      e2e6ee06
    • Len Brown's avatar
      [ACPI] ACPICA 20040924 from Bob Moore · de524f14
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Added a new OSL interface, acpi_os_get_timer.  This
      interface implements a 64-bit monotonic timer in 100
      nanosecond units.
      
      Implemented support for the ACPI 3.0 Timer operator.
      This 64-bit timer utilizes the timer provided by the
      acpi_os_get_timer interface.
      de524f14
    • Len Brown's avatar
    • Len Brown's avatar
      [ACPI] ACPICA 20040922 from Bob Moore · 419a57d5
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Fixed a problem with the implementation of the LNot()
      operator where "Ones" was not returned for the TRUE
      case. Changed the code to return Ones instead of (!Arg)
      which was usually 1. This change affects iASL constant
      folding for this operator also.
      
      Fixed a problem in acpi_ut_initialize_buffer where an
      existing buffer was not initialized properly -- Now zero
      the entire buffer in this case where the buffer already
      exists.
      
      Changed the interface to acpi_os_sleep from (UINT32
      Seconds, UINT32 Milliseconds) to simply (ACPI_INTEGER
      Milliseconds). This simplifies all related code
      considerably. This requires changes/updates to all OS
      interface layers (OSLs.)
      
      Implemented a new external interface,
      acpi_install_exception_handler, to allow a system exception
      handler to be installed. This handler is invoked upon
      any run-time exception that occurs during control method
      execution.
      
      Added support for the DSDT in acpi_tb_find_table. This
      allows the DataTableRegion() operator to access the local
      copy of the DSDT.
      419a57d5
    • Len Brown's avatar
      [ACPI] ACPICA 20040827 update from Bob Moore · 8d7b2d68
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      
      Implemented support for implicit object conversion in
      the non-numeric logical operators (LEqual, LGreater,
      LGreaterEqual, LLess, LLessEqual, and LNotEqual.) Any
      combination of Integers/Strings/Buffers may now be used;
      the second operand is implicitly converted on the fly to
      match the type of the first operand.  For example:
      
      LEqual (Source1, Source2)
      
      Source1 and Source2 must each evaluate to an integer, a
      string, or a buffer. The data type of Source1 dictates the
      required type of Source2.  Source2 is implicitly converted
      if necessary to match the type of Source1.
      
      Updated and corrected the behavior of the string
      conversion support.  The rules concerning conversion of
      buffers to strings (according to the ACPI specification)
      are as follows:
      
      ToDecimalString - explicit byte-wise conversion of buffer
      to string of decimal values (0-255) separated by commas.
      
      ToHexString - explicit byte-wise conversion of buffer to
      string of hex values (0-FF) separated by commas.
      
      ToString - explicit byte-wise conversion of buffer to
      string.  Byte-by-byte copy with no transform except NULL
      terminated.  Any other implicit buffer-to-string conversion
      
      byte-wise conversion of buffer to string of hex values
      (0-FF) separated by spaces.
      
      Fixed a problem in acpi_ns_get_pathname_length where the
      returned length was one byte too short in the case of a
      node in the root scope.  This could cause a fault during
      debug output.
      8d7b2d68
  4. 21 Oct, 2004 1 commit
  5. 20 Oct, 2004 1 commit
  6. 19 Oct, 2004 2 commits
  7. 18 Oct, 2004 2 commits
  8. 08 Oct, 2004 8 commits
  9. 01 Sep, 2004 5 commits
  10. 26 Aug, 2004 1 commit
  11. 25 Aug, 2004 1 commit
  12. 24 Aug, 2004 1 commit
  13. 21 Aug, 2004 1 commit
  14. 20 Aug, 2004 1 commit
    • Len Brown's avatar
      [ACPI] ACPICA 20040816 update from Bob Moore · 676ee8a7
      Len Brown authored
      Designed and implemented support within the AML interpreter
      for the so-called implicit return.  This support returns
      the result of the last ASL operation within a control
      method, in the absence of an explicit Return() operator.
      A few machines depend on this behavior, even though it
      is not explicitly supported by the ASL language.  It is
      optional support that can be enabled at runtime via the
      acpi_gbl_enable_interpreter_slack flag.
      
      Removed support for the PCI_Config address space from the
      internal low level hardware interfaces (acpi_hw_low_level_read
      and acpi_hw_low_level_write).  This support was not used
      internally, and would not work correctly anyway because
      the PCI bus number and segment number were not supported.
      There are separate interfaces for PCI configuration space
      access because of the unique interface.
      acpica-unix-20040816.patch
      
      AE_CODE_AML_MAX fix from Bjorn Helgaas
      676ee8a7
  15. 18 Aug, 2004 1 commit