diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-29 09:06:15 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-30 07:04:04 +1000 |
| commit | 8d4a6f8e4c95e11a3da2e38682da2819d4e2160c (patch) | |
| tree | 7bb4e6d55775eab378c4fbf30a39b349e131a60d /linux-user/loader.h | |
| parent | abfa6c7c2a0ddc4eaf373de320d758435e7acf9b (diff) | |
| download | focaccia-qemu-8d4a6f8e4c95e11a3da2e38682da2819d4e2160c.tar.gz focaccia-qemu-8d4a6f8e4c95e11a3da2e38682da2819d4e2160c.zip | |
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>
Diffstat (limited to 'linux-user/loader.h')
| -rw-r--r-- | linux-user/loader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h index 8f4a7f69ac..98015fba7d 100644 --- a/linux-user/loader.h +++ b/linux-user/loader.h @@ -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 *); |