acrn-hypervisor/misc/config_tools
Junjie Mao a3aa0797b1 board_inspector: add builders of AML AST nodes
This patch adds the acpiparser.aml.builder module which provides methods to
construct AML trees from scratch in Python. Similar to how parsers and
binary generators are implemented, this module constructs most builder
methods from the AML grammar defined in the acpiparser.aml.grammar
module. AML objects whose grammar are not present in the grammar module
require special treatment and their builders are implemented
explicitly. The methods have the same name as the AML tree labels defined
in the grammar.

In addition, this module also provides the method `build_value` which
converts plain integers, strings or interpreter values (which are defined
in the datatypes module) to AML trees.

With the builders, the `interpret_method_call` method in the
ConcreteInterpreter is refined to build the (fake) MethodInvocation node
using the builders and handle the actual parameters as well.

Tracked-On: #6287
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2021-08-09 09:05:01 +08:00
..
acpi_gen config_tools: enlarge max size to store RTCT table 2021-07-19 10:11:11 +08:00
acpi_template/template config_tools: update board_inspector to copy RTCT file 2021-07-02 13:42:06 +08:00
board_config hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
board_inspector board_inspector: add builders of AML AST nodes 2021-08-09 09:05:01 +08:00
config_app config_tools: config editor creates default xmls for a new board 2021-07-30 09:32:52 +08:00
data config_tools: update generic_board folder 2021-08-03 09:06:02 +08:00
hv_config config-tool: rename PSRARM to SSRAM 2021-05-17 14:31:42 +08:00
kconfig acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00
launch_config config_tools: Use new HSM driver device node 2021-07-15 11:53:54 +08:00
library config_tools: add the missing GUEST_FLAG_NVMX_ENABLED to common.py 2021-06-11 10:34:48 +08:00
scenario_config dm: Use new MMIO device passthrough management ioctls 2021-07-15 11:53:54 +08:00
schema config-tools: add uclock GP switch 2021-07-21 11:28:30 +08:00
static_allocators config-tools: allocate the first unused bar for vmsix 2021-06-11 10:48:56 +08:00
xforms config-tools: add uclock GP switch 2021-07-21 11:28:30 +08:00
README acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00

folder structure

	Kconfig		: Select working scenario and target board, configure ACRN hypervisor capabilities and features.
	target		: Get target board information under native Linux environment and generate board_info XML.
	board_config	: Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder.
	scenario_config	: Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	launch_config	: Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder.
	library		: The folder stores shared software modules or libs for acrn-config offline tool.