ACPICA: Disassembler: Add Switch/Case disassembly support
authorDavid E. Box <david.e.box@linux.intel.com>
Wed, 28 Dec 2016 07:29:17 +0000 (15:29 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 2 Jan 2017 22:18:45 +0000 (23:18 +0100)
commita654b8ca6d28736995de767ba62e801fd806a3b2
treec71817c1fa0252aaf99ba962419fcca6f4941a77
parent55333089390909f3aee73764836bc85ba18e6b4e
ACPICA: Disassembler: Add Switch/Case disassembly support

ACPICA commit 0f6cc80e8af519a3c31184367b0a9be7a399cf53

iasl compiles Switch/Case statements into a single iteration While
loop with If/Else statements. This patch adds support to recognize
this generated compiler output and disassemble it back to the
original Switch statement.

Linux kernel is not affected by this patch.

Link: https://github.com/acpica/acpica/commit/0f6cc80e
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/aclocal.h