mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv: add multiboot2 tags to load relocatable raw binary
GRUB multiboot2 doesn't support relocation for ELF, which means it can't load acrn.32.out to other address other than the one specified in ELF header. Thus we need to use the raw binary file acrn.bin, and add address/entry address/relocatable tags to instruct multiboot2 loader how to load the raw binary. Tracked-On: #4441 Reviewed-by: Fengwei Yin <fengwei.yin@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com>
This commit is contained in:
@@ -39,6 +39,7 @@ endchoice
|
||||
|
||||
config MULTIBOOT2
|
||||
bool "Multiboot2 support"
|
||||
depends on RELOC
|
||||
default n
|
||||
help
|
||||
Support boot ACRN from multiboot2 protocol. Multiboot2 support is needed for
|
||||
|
Reference in New Issue
Block a user