acrn-hypervisor/hypervisor/boot/include/reloc.h

20 lines
428 B
C
Raw Normal View History

/*
* 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 */