diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-27 21:12:54 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | ea9d69159e013a5757e20bea0266b7c17303d961 (patch) | |
| tree | 515decc8cf2caf1916803a093efc792e68fcd897 /linux-user/loader.h | |
| parent | e0f62c5a5b5c80d0a6b163a8113e5938b0b40d54 (diff) | |
| download | focaccia-qemu-ea9d69159e013a5757e20bea0266b7c17303d961.tar.gz focaccia-qemu-ea9d69159e013a5757e20bea0266b7c17303d961.zip | |
linux-user: Move hwcap functions to ppc/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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/loader.h b/linux-user/loader.h index 2c8414e0e5..818c5e6d7d 100644 --- a/linux-user/loader.h +++ b/linux-user/loader.h @@ -102,7 +102,7 @@ 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_SPARC) || defined(TARGET_PPC) abi_ulong get_elf_hwcap(CPUState *cs); abi_ulong get_elf_hwcap2(CPUState *cs); #endif |