• Len Brown's avatar
    [ACPI] ACPICA 20050114 from Bob Moore · fa6c3e73
    Len Brown authored
    Added 2005 copyright to all ACPICA files.
    
    Fixed an issue with the String-to-Buffer conversion code
    where the string null terminator was not included in the
    buffer after conversion, but there is existing ASL that
    assumes the string null terminator is included. This is the
    root of the ACPI_AML_BUFFER_LIMIT regression. This problem
    was introduced in the previous version when the code was
    updated to correctly set the converted buffer size as per
    the ACPI specification. The ACPI spec is ambiguous and
    will be updated to specify that the null terminator must
    be included in the converted buffer. This also affects
    the ToBuffer() ASL operator.
    
    Fixed a problem with the Mid() ASL/AML operator where it
    did not work correctly on Buffer objects. Newly created
    sub-buffers were not being marked as initialized.
    
    Fixed a problem in acpi_tb_find_table where incorrect string
    compares were performed on the oem_id and oem_table_d table
    header fields.  These fields are not null terminated,
    so strncmp is now used instead of strcmp.
    
    Implemented a restriction on the Store() ASL/AML operator
    to align the behavior with the ACPI specification.
    Previously, any object could be used as the source
    operand.  Now, the only objects that may be used are
    Integers, Buffers, Strings, Packages, Object References,
    and DDB Handles.  As acpi_gbl_enable_interpreter_slack
    is FALSE by default, "acpi=strict" is needed to enable
    this check.
    
    Enhanced the optional "implicit return" support to allow
    an implicit return value from methods that are invoked
    externally via the AcpiEvaluateObject interface.  This
    enables implicit returns from the _STA and _INI methods,
    for example.
    
    Changed the Revision() ASL/AML operator to return the
    current version of the AML interpreter, in the YYYYMMDD
    format. Previously, it incorrectly returned the supported
    ACPI version (This is the function of the _REV method).
    
    Updated the _REV predefined method to return the currently
    supported version of ACPI, now 3.
    fa6c3e73
evevent.c 8.33 KB