diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-03-22 15:56:19 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-06-10 07:03:34 -0700 |
commit | 2161a612b4e1d388046320bc464adefd6bba01a0 (patch) | |
tree | f544642525436586f932f915702e50f8fc63abf3 /target/openrisc | |
parent | 4f7c64b3819d559417615ed2b1d028ebc1a49580 (diff) |
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/openrisc')
-rw-r--r-- | target/openrisc/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h index 98361cb041..496895693e 100644 --- a/target/openrisc/cpu.h +++ b/target/openrisc/cpu.h @@ -364,6 +364,7 @@ void cpu_openrisc_count_stop(OpenRISCCPU *cpu); #define CPU_RESOLVING_TYPE TYPE_OPENRISC_CPU typedef CPUOpenRISCState CPUArchState; +typedef OpenRISCCPU ArchCPU; #include "exec/cpu-all.h" |