ACPICA: disassembler: improve Switch support
authorDavid E. Box <david.e.box@linux.intel.com>
Mon, 5 Jun 2017 08:38:53 +0000 (16:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 12:58:38 +0000 (14:58 +0200)
commita86c856eb4df97dd155e0210fca327e1fd44786c
tree5c37fb055a9cc83b175f76df5c516d1aecb97b28
parenta618c7f89a02f3c67a8f200855cff398855e3888
ACPICA: disassembler: improve Switch support

ACPICA commit 3c36625deffdfb034378b1793e2ead9c8fdd767e

Changes the resource descriptor parse tree walk to a general
preprocessing walk and calls the Switch conversion code from here.
Move Switch code to new dmswitch.c file. Also improves algorithm to
handle multiple levels of Switch statements and perform legacy
disassembly for older or otherwise non-spec compliant Switch
implementations.

Link: https://github.com/acpica/acpica/commit/3c36625d
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acapps.h
drivers/acpi/acpica/acglobal.h
drivers/acpi/acpica/aclocal.h