diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-03-22 15:32:23 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-06-10 07:03:34 -0700 |
commit | 4f7c64b3819d559417615ed2b1d028ebc1a49580 (patch) | |
tree | 73711ac46b7eea9b9fc5fea93c2ea43cb20f9bdf /target/m68k | |
parent | a40ec84ee2b02086e27fab78a152c20b09c723cf (diff) |
cpu: Define CPUArchState with typedef
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/m68k')
-rw-r--r-- | target/m68k/cpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h index e99c102302..4465a66145 100644 --- a/target/m68k/cpu.h +++ b/target/m68k/cpu.h @@ -25,8 +25,6 @@ #include "exec/cpu-defs.h" #include "cpu-qom.h" -#define CPUArchState struct CPUM68KState - #define OS_BYTE 0 #define OS_WORD 1 #define OS_LONG 2 @@ -538,6 +536,8 @@ void m68k_cpu_transaction_failed(CPUState *cs, hwaddr physaddr, vaddr addr, int mmu_idx, MemTxAttrs attrs, MemTxResult response, uintptr_t retaddr); +typedef CPUM68KState CPUArchState; + #include "exec/cpu-all.h" /* TB flags */ |