• Len Brown's avatar
    [ACPI] ACPICA 20050125 from Bob Moore · 2a539154
    Len Brown authored
    Fixed a recently introduced problem with the Global
    Lock where the underlying semaphore was not created.
    This problem was introduced in version 20050114, and
    caused an AE_AML_NO_OPERAND exception during an Acquire()
    operation on _GL.
    
    The local object cache is now optional, and is disabled
    by default.  #define ACPI_ENABLE_OBJECT_CACHE to enable
    the local cache.
    
    Fixed an issue in the internal function
    acpi_ut_evaluate_object() concerning the optional "implicit
    return" support where an error was returned if no return
    object was expected, but one was implicitly returned. AE_OK
    is now returned in this case and the implicitly returned
    object is deleted.  acpi_ut_evaluate_object() is only
    occasionally used, and only to execute reserved methods
    such as _STA and _INI where the return type is known
    up front.
    
    Fixed a few issues with the internal convert-to-integer
    code. It now returns an error if an attempt is made to
    convert a null string, a string of only blanks/tabs, or a
    zero-length buffer. This affects both implicit conversion
    and explicit conversion via the ToInteger() operator.
    
    The internal debug code in acpi_ut_acquire_mutex()
    has been commented out. It is not needed for normal
    operation and should increase the performance of the entire
    subsystem. The code remains in case it is needed for debug
    purposes again.
    acpica-unix-20050125.patch
    2a539154
dswstate.c 29.7 KB