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 static inline int cpu_has_work(CPUState
*env1
)
18 return (env1
->interrupt_request
& CPU_INTERRUPT_HARD
) &&
19 cpu_interrupts_enabled(env1
);
23 static inline void cpu_pc_from_tb(CPUState
*env
, TranslationBlock
*tb
)
26 env
->npc
= tb
->cs_base
;