4 #include "dyngen-exec.h"
6 register struct CPUSPARCState
*env
asm(AREG0
);
10 #define DT0 (env->dt0)
11 #define DT1 (env->dt1)
12 #define QT0 (env->qt0)
13 #define QT1 (env->qt1)
18 static inline void env_to_regs(void)
22 static inline void regs_to_env(void)
28 void cpu_unlock(void);
29 int cpu_sparc_handle_mmu_fault(CPUState
*env1
, target_ulong address
, int rw
,
30 int mmu_idx
, int is_softmmu
);
31 target_ulong
mmu_probe(CPUState
*env
, target_ulong address
, int mmulev
);
32 void dump_mmu(CPUState
*env
);
35 void do_interrupt(CPUState
*env
);
38 void cpu_loop_exit(void);
39 int cpu_sparc_signal_handler(int host_signum
, void *pinfo
, void *puc
);
42 void cpu_check_irqs(CPUSPARCState
*env
);
44 static inline int cpu_halted(CPUState
*env1
) {
47 if ((env1
->interrupt_request
& CPU_INTERRUPT_HARD
) && (env1
->psret
!= 0)) {