diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-27 21:17:08 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | 184e74b236df9ad42ddbf92011713259cd17caf1 (patch) | |
| tree | d76ff97dc67d5388a715df4ecc45d84324f28dff /linux-user/loader.h | |
| parent | ea9d69159e013a5757e20bea0266b7c17303d961 (diff) | |
| download | focaccia-qemu-184e74b236df9ad42ddbf92011713259cd17caf1.tar.gz focaccia-qemu-184e74b236df9ad42ddbf92011713259cd17caf1.zip | |
linux-user: Move get_elf_hwcap to loongarch64/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>
Diffstat (limited to 'linux-user/loader.h')
| -rw-r--r-- | linux-user/loader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h index 818c5e6d7d..92b6d41145 100644 --- a/linux-user/loader.h +++ b/linux-user/loader.h @@ -102,7 +102,8 @@ extern unsigned long guest_stack_size; 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_SPARC) || defined(TARGET_PPC) \ + || defined(TARGET_LOONGARCH64) abi_ulong get_elf_hwcap(CPUState *cs); abi_ulong get_elf_hwcap2(CPUState *cs); #endif |