4 #include "dyngen-exec.h"
6 register struct CPUSPARCState
*env
asm(AREG0
);
11 #if !defined(CONFIG_USER_ONLY)
12 #include "softmmu_exec.h"
13 #endif /* !defined(CONFIG_USER_ONLY) */
16 void do_interrupt(CPUState
*env
);
18 static inline int cpu_has_work(CPUState
*env1
)
20 return (env1
->interrupt_request
& CPU_INTERRUPT_HARD
) &&
21 cpu_interrupts_enabled(env1
);
25 static inline int cpu_halted(CPUState
*env1
) {
28 if (cpu_has_work(env1
)) {