target/tilegx: Use env_cpu
commit06887771bda2a297f2fb669522166a97d67e2ad9
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 02:38:33 +0000 (22 19:38 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (10 07:03 -0700)
tree1ca87b55813a6349a500a9878779f8ae4018e874
parent5a59fbce9141c40db0f0a5a6e17583ad9189b48b
target/tilegx: Use env_cpu

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