target/unicore32: Use env_cpu, env_archcpu
commit31266e68d2921d2a2f73176349e94e28842fadd8
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 02:46:31 +0000 (22 19:46 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (10 07:03 -0700)
tree2c51849ef73cee2969dd79f9d6ea675d7bef38b5
parent06eb2e29420deff180e777284fe6f99037e912cc
target/unicore32: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace uc32_env_get_cpu with env_archcpu.  The combination
CPU(uc32_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>
hw/unicore32/puv3.c
target/unicore32/cpu.h
target/unicore32/helper.c
target/unicore32/op_helper.c
target/unicore32/softmmu.c
target/unicore32/translate.c
target/unicore32/ucf64_helper.c