acrn-hypervisor/misc/config_tools/board_inspector/acpiparser
Junjie Mao a5f5ed0865 board_inspector: fix unregisteration of conditionally disabled objects
The current ConditionallyUnregisterSymbolVisitor has the following two
issues.

  1. The visitor will crash when a DefIfElse node is not fully parsed due
     to failed deferred expansion.

  2. Nested DefIfElse of disabled blocks are still checked and one of its
     branch may still take effect.

This patch fixes those issues by checking the predicates of a DefIfElse
block only when conditionally_hidden is False and check existence of
TermList and DefElse clauses.

Tracked-On: #6298
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-09 09:05:01 +08:00
..
aml board_inspector: fix unregisteration of conditionally disabled objects 2021-08-09 09:05:01 +08:00
__init__.py board_inspector/acpiparser: enable parsing RTCT v2 2021-05-19 08:53:38 +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: improve readability and performance of AML parser 2021-08-09 09:05:01 +08:00
facp.py board-inspector: reorganize the scripts 2021-05-16 19:02:00 +08:00
rdt.py board_inspector/acpiparser: add DSDT/SSDT parser 2021-05-16 19:02:00 +08:00
rtct.py board_inspector/acpiparser: enable parsing RTCT v2 2021-05-19 08:53:38 +08:00