4 #include "dyngen-exec.h"
6 register struct CPUSPARCState
*env
asm(AREG0
);
7 #define REGWPTR env->regwptr
10 #define FT1 (env->ft1)
11 #define DT0 (env->dt0)
12 #define DT1 (env->dt1)
13 #define QT0 (env->qt0)
14 #define QT1 (env->qt1)
19 static inline void env_to_regs(void)
21 #if defined(reg_REGWPTR)
22 REGWPTR
= env
->regbase
+ (env
->cwp
* 16);
23 env
->regwptr
= REGWPTR
;
27 static inline void regs_to_env(void)
31 int cpu_sparc_handle_mmu_fault(CPUState
*env1
, target_ulong address
, int rw
,
32 int mmu_idx
, int is_softmmu
);
33 void do_interrupt(int intno
);
35 static inline int cpu_halted(CPUState
*env1
) {
38 if ((env1
->interrupt_request
& CPU_INTERRUPT_HARD
) && (env1
->psret
!= 0)) {