mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-03 04:39:50 +00:00
For UEFI boot, currently EFI application loads hypervisor to the hard coded COMNFIG_RAM_START, which may cause it fail to boot if this address is not available in the target. This patch series resolve this issue by allocating memory for hypervisor at run time, and do relocation fixup if the allocated address is different from the base address that the hypervisor is built. The summary of the first patch [1/6] in this series: In x86_64 ELF, .rela sections hold information of symbols which must be relocated before being referenced. This patch adds code to fixup .rela sections with the relocated offset, also, it provides utilities to assist address fixup Signed-off-by: Zheng Gen <gen.zheng@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> |
||
---|---|---|
.. | ||
acpi.h | ||
reloc.h |