From 2161a612b4e1d388046320bc464adefd6bba01a0 Mon Sep 17 00:00:00 2001 From: Richard Henderson 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 Acked-by: Alistair Francis Signed-off-by: Richard Henderson --- target/riscv/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target/riscv') diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 509aae0613..8ee5051119 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -335,6 +335,7 @@ void riscv_set_csr_ops(int csrno, riscv_csr_operations *ops); void riscv_cpu_register_gdb_regs_for_features(CPUState *cs); typedef CPURISCVState CPUArchState; +typedef RISCVCPU ArchCPU; #include "exec/cpu-all.h" -- cgit v1.2.3-55-g7522