aboutsummaryrefslogtreecommitdiff
path: root/target/riscv/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-03-22 15:56:19 -0700
committerRichard Henderson <richard.henderson@linaro.org>2019-06-10 07:03:34 -0700
commit2161a612b4e1d388046320bc464adefd6bba01a0 (patch)
treef544642525436586f932f915702e50f8fc63abf3 /target/riscv/cpu.h
parent4f7c64b3819d559417615ed2b1d028ebc1a49580 (diff)
downloadqemu-2161a612b4e1d388046320bc464adefd6bba01a0.zip
qemu-2161a612b4e1d388046320bc464adefd6bba01a0.tar.gz
qemu-2161a612b4e1d388046320bc464adefd6bba01a0.tar.bz2
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>
Diffstat (limited to 'target/riscv/cpu.h')
-rw-r--r--target/riscv/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h
index 509aae0..8ee5051 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"