mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: Add elf loader sketch
This patch adds a function elf_loader() to load elf image. It checks the elf header, get its 32/64 bit type, then calls the corresponding loading routines, which are empty, and will be realized later. Tracked-On: #6323 Signed-off-by: Zhou, Wu <wu.zhou@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -289,6 +289,9 @@ endif
|
||||
ifeq ($(CONFIG_GUEST_KERNEL_RAWIMAGE),y)
|
||||
VP_BASE_C_SRCS += boot/guest/rawimage_loader.c
|
||||
endif
|
||||
ifeq ($(CONFIG_GUEST_KERNEL_ELF),y)
|
||||
VP_BASE_C_SRCS += boot/guest/elf_loader.c
|
||||
endif
|
||||
VP_BASE_C_SRCS += common/hv_main.c
|
||||
VP_BASE_C_SRCS += common/vm_load.c
|
||||
VP_BASE_C_SRCS += arch/x86/configs/pci_dev.c
|
||||
|
Reference in New Issue
Block a user