mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv: relocate trampoline code to the dynamically allocated memory
- Also update all the references that need the absolute HPA with the actual load addresses - Save the trampoline code address to trampline_start16_paddr Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com>
This commit is contained in:
@@ -163,6 +163,9 @@ extern const uint64_t _ld_trampline_size;
|
||||
extern uint8_t _ld_bss_start[];
|
||||
extern uint8_t _ld_bss_end[];
|
||||
|
||||
extern uint8_t trampline_fixup_cs[];
|
||||
extern uint8_t trampline_fixup_ip[];
|
||||
extern uint8_t trampline_fixup_target[];
|
||||
extern uint8_t CPU_Boot_Page_Tables_Start[];
|
||||
extern uint8_t CPU_Boot_Page_Tables_ptr[];
|
||||
extern uint8_t trampline_pdpt_addr[];
|
||||
|
Reference in New Issue
Block a user