acrn-hypervisor/misc/config_tools
Junjie Mao cbd593e6c0 static_allocator/intx: parse INTx allocated by another device
The interrupt pin descriptors in board XML follows the same notation as in
ACPI PRT (PCI Routing Table), i.e. either an integer or a pair of a device
object and an index.

However, the current static INTx allocator recognizes
integer-as-interrupt-line only, which will cause build-time failure if
the "device object + index" notation is used in physical DSDT to describe
PCI interrupt pin routing.

This patch refines the static allocator so that both notations can be
parsed properly. In case an interrupt line descriptor in the board XML
refers to an device object without an index, it is interpreted as the first
of the ACPI device object if it is an interrupt resource.

Tracked-On: #7058
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2022-01-27 11:24:57 +08:00
..
acpi_gen config-tools: move the pre RTVM's SSRAM base GPA 2021-11-08 13:13:14 +08:00
acpi_template/template config_tools: generate vDSDT according to allocated resources 2021-08-09 09:05:01 +08:00
board_config config_tool: let common.MAX_VM_NUM controlled by scenario data 2021-11-16 14:42:59 +08:00
board_inspector board_inspector: add index info to INTx pins from device objects 2022-01-27 11:24:57 +08:00
config_app config_tools: make acrn_configurator.py an executable script 2022-01-26 14:20:43 +08:00
data config_tools: merge board_private.rootfs and board_private.bootargs to os_config.bootargs 2022-01-19 13:14:49 +08:00
hv_config config_tools: remove CONFIG_LOG_DESTINATION 2021-12-06 14:24:40 +08:00
launch_config config_tools: update the usage of virtio-net parameter in launch script 2022-01-25 11:51:47 +08:00
library config_tools: merge board_private.rootfs and board_private.bootargs to os_config.bootargs 2022-01-19 13:14:49 +08:00
scenario_config config_tools: add a script that focuses on XML validation 2022-01-26 14:19:01 +08:00
schema config_tools: merge board_private.rootfs and board_private.bootargs to os_config.bootargs 2022-01-19 13:14:49 +08:00
service_vm_config misc: config_tools: generate serial configuration file 2021-11-08 13:15:38 +08:00
static_allocators static_allocator/intx: parse INTx allocated by another device 2022-01-27 11:24:57 +08:00
xforms config_tools: merge board_private.rootfs and board_private.bootargs to os_config.bootargs 2022-01-19 13:14:49 +08:00
README config_tools: remove obsolete kconfig files 2021-08-09 09:25:02 +08:00

folder structure

	board_inspector	: 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.