mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-01 21:23:59 +00:00
-- add header file ld_sym.h in include/arch/x86/boot/ -- move 'ld_bss_start/end' from cpu.h to ld_sym.h, avoid reverse dependency -- move 'ld_text_end' from mmu.h to ld_sym.h -- move 'ld_trampoline_load/start/end' to ld_sym.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
20 lines
428 B
C
20 lines
428 B
C
/*
|
|
* Copyright (C) <2018> Intel Corporation
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef RELOCATE_H
|
|
#define RELOCATE_H
|
|
|
|
extern void relocate(void);
|
|
extern uint64_t get_hv_image_delta(void);
|
|
extern uint64_t get_hv_image_base(void);
|
|
|
|
/* external symbols that are helpful for relocation */
|
|
extern uint8_t _DYNAMIC[1];
|
|
|
|
extern uint8_t cpu_primary_start_32;
|
|
extern uint8_t cpu_primary_start_64;
|
|
|
|
#endif /* RELOCATE_H */
|