acrn-hypervisor/misc/config_tools/static_allocators
Junjie Mao 89d54aa5d1 config_tools: board_inspector: record all details from RTCT in board XML
Today users still need to manually copy the RTCT binary file when they want
to passthrough software SRAM to a pre-launched RTVM, which is far from
being user friendly.

To get rid of that step, this patch extracts all information from the RTCT
table and format them in the board XML which is the only file users need to
copy from their target platform to build the hypervisor. The patch that
immediately follows will then use such information to generate vRTCT for
the pre-launched VM.

A side effect of this change is that more ranges, which represents those
reported by RTCT such as the CRL binary or the error log area, will be
added to the `memory` section of the board XML. The `id` attributes of
those range will be used to identify what that range is for. As a result,
getting RAM of the physical platform from the board XML requires additional
conditions on the `id` attributes to avoid counting non-RAM regions
unintendedly.

Tracked-On: #7947
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-08-05 07:36:40 +08:00
..
lib Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
bdf.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
board_capability.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
clos.py misc: move the RDT interface to common library 2022-06-29 13:53:42 +08:00
cpu_affinity.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
gpa.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
guest_flags.py misc: set PMU_PT flag for pre-launched RTVM 2022-03-29 09:34:17 +08:00
hv_ram.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
intx.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
main.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
memory_allocator.py config_tools: board_inspector: record all details from RTCT in board XML 2022-08-05 07:36:40 +08:00
pio.py Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
s5_vuart.py misc: modify the vUART index order and irq 2022-06-29 13:53:42 +08:00