]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ACPICA: Add support for complex _PLD buffers.
authorBob Moore <robert.moore@intel.com>
Fri, 17 Aug 2012 05:07:54 +0000 (13:07 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 21 Sep 2012 04:26:17 +0000 (00:26 -0400)
commitbe030a576854238250d70135644cde6a0ba34b0d
treea7521a65df5e117ef6aec3fcaa8160be7596a495
parent4e2f9c278ad84196991fcf6f6646a3e15967fe90
ACPICA: Add support for complex _PLD buffers.

_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 <robert.moore@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/utxface.c
include/acpi/acbuffer.h [new file with mode: 0644]
include/acpi/acnames.h
include/acpi/acpixf.h
include/acpi/actbl.h
include/acpi/actbl1.h
include/acpi/actbl2.h
include/acpi/actbl3.h