mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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>
This commit is contained in:
parent
a40ec84ee2
commit
4f7c64b381
21 changed files with 43 additions and 53 deletions
|
@ -25,10 +25,6 @@
|
|||
#include "exec/cpu-defs.h"
|
||||
#include "tricore-defs.h"
|
||||
|
||||
#define CPUArchState struct CPUTriCoreState
|
||||
|
||||
struct CPUTriCoreState;
|
||||
|
||||
struct tricore_boot_info;
|
||||
|
||||
typedef struct tricore_def_t tricore_def_t;
|
||||
|
@ -382,7 +378,7 @@ static inline int cpu_mmu_index(CPUTriCoreState *env, bool ifetch)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
typedef CPUTriCoreState CPUArchState;
|
||||
|
||||
#include "exec/cpu-all.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue