16 Jan, 2016

1 commit


26 Aug, 2015

1 commit


05 Feb, 2015

1 commit


28 Nov, 2014

1 commit

  • This macro is intended to simplify the constuction of _PLD buffers.
    NOTE: Prototype only, subject to change before this macro is
    added to the ACPI specification. David E. Box.

    Signed-off-by: David E. Box
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

18 Mar, 2014

1 commit


27 Feb, 2014

1 commit

  • Use push and pop to both guarantee that the correct alignment is used,
    and to restore the alignment to whatever it was before the header
    was included.

    It is reported that the #pragma pack(push/pop) directives are not supported
    by the specific GCCs, but this patch still doesn't affect kernel build
    as there are already #pragma pack([1]) directives used in the old ACPICA
    headers, which means there shouldn't be GCCs that are currently used to
    compile the ACPI kernels do not support #pragma pack() directives.

    References: https://bugs.acpica.org/show_bug.cgi?id=1058
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

11 Feb, 2014

1 commit


25 Jan, 2013

1 commit


21 Sep, 2012

2 commits

  • Added structs for the buffers related to these predefined names,
    in acbuffer.h

    Signed-off-by: Bob Moore
    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Bob Moore
     
  • _PLD (Physical Location of Device) returns a bit-packed buffer that
    is difficult to parse. This change adds a new interface,
    AcpiDecodePldBuffer that parses the buffer into a more usable
    local struct. Also adds macros to both get and set individual
    fields within the packed _PLD buffer. Adds a new include file,
    acbuffer.h - which will be expanded to add structs for other
    ACPI names that return buffers. ACPICA BZ 954.

    Emit (in comments) the decoded contents of a static _PLD buffer
    in order to improve comprehension of this bit-packed buffer.

    Add multi-endian support to the _PLD decode routine. Deploy the
    multi-endian macros to extract data from the _PLD buffer.

    Signed-off-by: Bob Moore
    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Bob Moore