target/alpha: Use env_cpu, env_archcpu
commit1c7ad260009769eff0c2bbb030d5b50d0e794b6a
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 00:26:58 +0000 (22 17:26 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:34 +0000 (10 07:03 -0700)
tree0eafa888213eca0b9f25ca06a9b5ecb20634d720
parent083dc73d7a3cf2a75b5625fd8f0669b57a855d16
target/alpha: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace alpha_env_get_cpu with env_archcpu.  The combination
CPU(alpha_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/alpha/cpu_loop.c
target/alpha/cpu.h
target/alpha/helper.c
target/alpha/sys_helper.c