mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 22:09:06 +00:00
HV: add new acrn_vm_config member and config files
- add new struct member for acrn_vm_config; - add sharing_config.c file with initialized vm_config array; - add SOS VM config header for apl-mrb/apl-nuc/up2 and dnv-cb2 board; - and partition_config.c file with dummy vm_config array; 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:
@@ -109,6 +109,7 @@ INCLUDE_PATH += include/dm
|
||||
INCLUDE_PATH += bsp/include
|
||||
INCLUDE_PATH += boot/include
|
||||
INCLUDE_PATH += $(HV_OBJDIR)/include
|
||||
INCLUDE_PATH += arch/x86/configs/$(CONFIG_BOARD)
|
||||
|
||||
CC ?= gcc
|
||||
AS ?= as
|
||||
@@ -130,6 +131,13 @@ C_SRCS += boot/reloc.c
|
||||
# initilization component
|
||||
C_SRCS += arch/x86/init.c
|
||||
|
||||
# configuration component
|
||||
ifeq ($(CONFIG_SHARING_MODE),y)
|
||||
C_SRCS += arch/x86/configs/sharing_config.c
|
||||
else ifeq ($(CONFIG_PARTITION_MODE),y)
|
||||
C_SRCS += arch/x86/configs/partition_config.c
|
||||
endif
|
||||
|
||||
C_SRCS += boot/acpi.c
|
||||
C_SRCS += boot/dmar_parse.c
|
||||
S_SRCS += arch/x86/idt.S
|
||||
|
Reference in New Issue
Block a user