acrn-hypervisor/hypervisor/boot/include/reloc.h
Jason Chen CJ 51bfafd6fb modularization: boot component -- move functions
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:

- bsp_boot_init & cpu_secondary_init for start up
- or restore_s3_context for wakeup

this patch move functions for AP trampoline into trampoline.c from reloc.c

Tracked-On: #1842
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-12-03 09:09:44 +08:00

21 lines
463 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 ld_trampoline_end;
extern uint8_t cpu_primary_start_32;
extern uint8_t cpu_primary_start_64;
#endif /* RELOCATE_H */