target/sparc: Use env_cpu, env_archcpu
Cleanup in the boilerplate that each target must define. Replace sparc_env_get_cpu with env_archcpu. The combination CPU(sparc_env_get_cpu) should have used ENV_GET_CPU to begin; use env_cpu now. Reviewed-by:Alistair Francis <alistair.francis@wdc.com> Reviewed-by:
Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- bsd-user/main.c 1 addition, 1 deletionbsd-user/main.c
- hw/sparc/leon3.c 2 additions, 2 deletionshw/sparc/leon3.c
- hw/sparc/sun4m.c 2 additions, 2 deletionshw/sparc/sun4m.c
- hw/sparc64/sparc64.c 1 addition, 1 deletionhw/sparc64/sparc64.c
- linux-user/sparc/cpu_loop.c 1 addition, 1 deletionlinux-user/sparc/cpu_loop.c
- target/sparc/cpu.h 0 additions, 5 deletionstarget/sparc/cpu.h
- target/sparc/fop_helper.c 1 addition, 1 deletiontarget/sparc/fop_helper.c
- target/sparc/helper.c 4 additions, 4 deletionstarget/sparc/helper.c
- target/sparc/ldst_helper.c 15 additions, 18 deletionstarget/sparc/ldst_helper.c
- target/sparc/mmu_helper.c 5 additions, 5 deletionstarget/sparc/mmu_helper.c
Loading
Please register or sign in to comment