mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
linux-user: Move get_elf_hwcap to sh4/elfload.c
Change the return type to abi_ulong, and pass in the cpu. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
+2
-1
@@ -103,7 +103,8 @@ const char *get_elf_cpu_model(uint32_t eflags);
|
||||
|
||||
#if defined(TARGET_I386) || defined(TARGET_X86_64) || defined(TARGET_ARM) \
|
||||
|| defined(TARGET_SPARC) || defined(TARGET_PPC) \
|
||||
|| defined(TARGET_LOONGARCH64) || defined(TARGET_MIPS)
|
||||
|| defined(TARGET_LOONGARCH64) || defined(TARGET_MIPS) \
|
||||
|| defined(TARGET_SH4)
|
||||
abi_ulong get_elf_hwcap(CPUState *cs);
|
||||
abi_ulong get_elf_hwcap2(CPUState *cs);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user