mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-02 09:25:17 +00:00
HV: use separated vm_config.c for each scenario
Previously we use unified vm_config.c for all scenarios and use MACROs for each configuration items, then the initialization of vm_configs[] becomes more complicated when definition of MACROs increase, so change the coding style that all configurable items could be explicitly shown in vm_configuration.c to make code more readable. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -147,7 +147,11 @@ C_SRCS += arch/x86/seed/seed_sbl.c
|
||||
C_SRCS += arch/x86/configs/vm_config.c
|
||||
C_SRCS += arch/x86/configs/$(CONFIG_BOARD)/ve820.c
|
||||
C_SRCS += arch/x86/configs/$(CONFIG_BOARD)/board.c
|
||||
C_SRCS += scenarios/$(SCENARIO_NAME)/vm_configurations.c
|
||||
ifneq (,$(wildcard scenarios/$(SCENARIO_NAME)/pt_dev.c))
|
||||
C_SRCS += scenarios/$(SCENARIO_NAME)/pt_dev.c
|
||||
endif
|
||||
|
||||
|
||||
C_SRCS += boot/acpi.c
|
||||
C_SRCS += boot/dmar_parse.c
|
||||
|
Reference in New Issue
Block a user