diff options
| author | Richard Henderson | 2019-03-22 23:56:19 +0100 |
|---|---|---|
| committer | Richard Henderson | 2019-06-10 16:03:34 +0200 |
| commit | 2161a612b4e1d388046320bc464adefd6bba01a0 (patch) | |
| tree | f544642525436586f932f915702e50f8fc63abf3 /target/nios2 | |
| parent | cpu: Define CPUArchState with typedef (diff) | |
| download | qemu-2161a612b4e1d388046320bc464adefd6bba01a0.tar.gz qemu-2161a612b4e1d388046320bc464adefd6bba01a0.tar.xz qemu-2161a612b4e1d388046320bc464adefd6bba01a0.zip | |
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/nios2')
| -rw-r--r-- | target/nios2/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index cc8e0ab771..5e51f1ae3f 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -247,6 +247,7 @@ static inline int cpu_interrupts_enabled(CPUNios2State *env) } typedef CPUNios2State CPUArchState; +typedef Nios2CPU ArchCPU; #include "exec/cpu-all.h" |
