mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-04 06:26:54 +00:00
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>
21 lines
463 B
C
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 */
|