]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: Use env_cpu, env_archcpu
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 02:07:57 +0000 (19:07 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (07:03 -0700)
commitdb70b31144d28a40838f8916a7c02adcdf5d8dcd
tree2a6094b53b8078b9550fca465b3560e170a1c7e1
parent5ee2b02e926ba12946c2ce3fc6ed9913e7c94859
target/ppc: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace ppc_env_get_cpu with env_archcpu.  The combination
CPU(ppc_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: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
13 files changed:
hw/ppc/ppc.c
hw/ppc/ppc405_uc.c
hw/ppc/ppc_booke.c
linux-user/ppc/cpu_loop.c
target/ppc/cpu.h
target/ppc/excp_helper.c
target/ppc/fpu_helper.c
target/ppc/helper_regs.h
target/ppc/kvm.c
target/ppc/misc_helper.c
target/ppc/mmu-hash64.c
target/ppc/mmu_helper.c
target/ppc/translate_init.inc.c