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>
Cette révision appartient à :
David E. Box
2017-06-05 16:38:53 +08:00
révisé par Rafael J. Wysocki
Parent a618c7f89a
révision a86c856eb4
3 fichiers modifiés avec 8 ajouts et 2 suppressions

Voir le fichier

@@ -1182,6 +1182,11 @@ struct acpi_external_file {
struct acpi_external_file *next;
};
struct acpi_parse_object_list {
union acpi_parse_object *op;
struct acpi_parse_object_list *next;
};
/*****************************************************************************
*
* Debugger