target/moxie: Use env_cpu, env_archcpu
commitf8600ba22188595bca6c098ab66b9641b10bca99
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 01:41:52 +0000 (22 18:41 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (10 07:03 -0700)
tree22e01f76f8acc6f037a4ccd27805ad773e578848
parent5a7330b35cabc9e2fd3a8577b7004b63af8c57f3
target/moxie: Use env_cpu, env_archcpu

Cleanup in the boilerplate that each target must define.
Replace moxie_env_get_cpu with env_archcpu.  The combination
CPU(moxie_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>
target/moxie/cpu.h
target/moxie/helper.c
target/moxie/translate.c