mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-29 04:04:05 +00:00
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> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
config_app | ||
data | ||
hv_config | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
service_vm_config | ||
static_allocators | ||
xforms | ||
README |
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.