linux-user: Move init_guest_commpage to x86_64/elfload.c
Rename INIT_GUEST_COMMPAGE to HAVE_GUEST_COMMPAGE to match the other HAVE_* defines. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
abfa6c7c2a
commit
8d4a6f8e4c
4 changed files with 25 additions and 22 deletions
|
|
@ -105,6 +105,9 @@ const char *elf_hwcap_str(uint32_t bit);
|
|||
const char *elf_hwcap2_str(uint32_t bit);
|
||||
const char *get_elf_platform(CPUState *cs);
|
||||
const char *get_elf_base_platform(CPUState *cs);
|
||||
#if defined(TARGET_X86_64)
|
||||
bool init_guest_commpage(void);
|
||||
#endif
|
||||
|
||||
struct target_elf_gregset_t;
|
||||
void elf_core_copy_regs(struct target_elf_gregset_t *, const CPUArchState *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue