acrn-hypervisor/misc/config_tools/board_inspector/acpiparser
Junjie Mao d58ef5e2aa board_inspector: skip visiting DefMethod properly when unregistering symbols
The current implementation of the ConditionallyUnregisterSymbolVisitor
exits upon visiting a DefMethod node without unregistering that method. As
a result, methods in False branches in DSDT/SSDTs are not removed from the
parsed namespace, which can lead to further confusions when these methods
are referenced (e.g. a _CRS method visited by the board inspector).

This patch fixes this by always visiting a DefMethod node but stops
traversing its children.

Tracked-On: #6287
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-09 09:05:01 +08:00
..
aml board_inspector: skip visiting DefMethod properly when unregistering symbols 2021-08-09 09:05:01 +08:00
__init__.py board_inspector: add a parser of PCI routing tables 2021-08-09 09:05:01 +08:00
_utils.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
apic.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
asf.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
dmar.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
dsdt.py board_inspector: extend DSDT parser to allow parsing arbitrary trees 2021-08-09 09:05:01 +08:00
facp.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
prt.py board_inspector: add a parser of PCI routing tables 2021-08-09 09:05:01 +08:00
rdt.py board_inspector: add default value to address space descriptors 2021-08-09 09:05:01 +08:00
rtct.py board_inspector/acpiparser: enable parsing RTCT v2 2021-05-19 08:53:38 +08:00