summaryrefslogtreecommitdiffstats
path: root/target/xtensa/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2019-03-22 23:56:19 +0100
committerRichard Henderson2019-06-10 16:03:34 +0200
commit2161a612b4e1d388046320bc464adefd6bba01a0 (patch)
treef544642525436586f932f915702e50f8fc63abf3 /target/xtensa/cpu.h
parentcpu: Define CPUArchState with typedef (diff)
downloadqemu-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/xtensa/cpu.h')
-rw-r--r--target/xtensa/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h
index e164e18f18..6e6fb1d893 100644
--- a/target/xtensa/cpu.h
+++ b/target/xtensa/cpu.h
@@ -800,6 +800,7 @@ static inline void cpu_get_tb_cpu_state(CPUXtensaState *env, target_ulong *pc,
}
typedef CPUXtensaState CPUArchState;
+typedef XtensaCPU ArchCPU;
#include "exec/cpu-all.h"