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>
This commit is contained in:
Richard Henderson 2019-03-22 15:56:19 -07:00
parent 4f7c64b381
commit 2161a612b4
21 changed files with 21 additions and 0 deletions

View file

@ -257,6 +257,7 @@ bool lm32_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
bool probe, uintptr_t retaddr);
typedef CPULM32State CPUArchState;
typedef LM32CPU ArchCPU;
#include "exec/cpu-all.h"