mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -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
|
@ -14,8 +14,6 @@
|
|||
#define TARGET_DPREGS 32
|
||||
#endif
|
||||
|
||||
#define CPUArchState struct CPUSPARCState
|
||||
|
||||
/*#define EXCP_INTERRUPT 0x100*/
|
||||
|
||||
/* trap definitions */
|
||||
|
@ -731,6 +729,8 @@ static inline int cpu_pil_allowed(CPUSPARCState *env1, int pil)
|
|||
#endif
|
||||
}
|
||||
|
||||
typedef CPUSPARCState CPUArchState;
|
||||
|
||||
#include "exec/cpu-all.h"
|
||||
|
||||
#ifdef TARGET_SPARC64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue