target/m68k: Use env_cpu
commita8d92fd869c601f723b82d9736a2d78ae640b8a2
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Mar 2019 01:23:25 +0000 (22 18:23 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Jun 2019 14:03:42 +0000 (10 07:03 -0700)
treeb86e711609bc21c0e208faa9226be473122f078d
parent6dd40a906d83b642224443f8b60aa96659945ca3
target/m68k: Use env_cpu

Cleanup in the boilerplate that each target must define.
The combination CPU(m68k_env_get_cpu) should have used
ENV_GET_CPU to begin; use env_cpu now.

Acked-by: Laurent Vivier <laurent@vivier.eu>
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/m68k-sim.c
linux-user/m68k/cpu_loop.c
linux-user/m68k/target_cpu.h
target/m68k/cpu.h
target/m68k/helper.c
target/m68k/m68k-semi.c
target/m68k/op_helper.c
target/m68k/translate.c