From 2161a612b4e1d388046320bc464adefd6bba01a0 Mon Sep 17 00:00:00 2001 From: Richard Henderson <richard.henderson@linaro.org> Date: Fri, 22 Mar 2019 15:56:19 -0700 Subject: cpu: Define ArchCPU For all targets, do this just before including exec/cpu-all.h. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/sh4/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target/sh4/cpu.h') diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h index d7a8723..1bdc997 100644 --- a/target/sh4/cpu.h +++ b/target/sh4/cpu.h @@ -281,6 +281,7 @@ static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch) } typedef CPUSH4State CPUArchState; +typedef SuperHCPU ArchCPU; #include "exec/cpu-all.h" -- cgit v1.1