target/cris: Use env_cpu, env_archcpu
commitdbefca236a464f942efae6319f68aa7663b20718
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 00:46:40 +0000 (22 17:46 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:34 +0000 (10 07:03 -0700)
treeb0472d46f164e8ac74a42837b3c902a5f98b4701
parentac4df09f91d88db5da217e9d8ed295bf17510051
target/cris: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace cris_env_get_cpu with env_archcpu.  The combination
CPU(cris_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>
linux-user/cris/cpu_loop.c
target/cris/cpu.h
target/cris/mmu.c
target/cris/op_helper.c
target/cris/translate.c