]> git.proxmox.com Git - qemu.git/blobdiff - target-sh4/exec.h
Move cpu_has_work and cpu_pc_from_tb to cpu.h
[qemu.git] / target-sh4 / exec.h
index ff068c550eec05fef028a6b7decd14beefcd345e..a537672981edb894688e6f97ed82168ec9877529 100644 (file)
@@ -27,19 +27,8 @@ register struct CPUSH4State *env asm(AREG0);
 #include "cpu.h"
 #include "exec-all.h"
 
-static inline bool cpu_has_work(CPUState *env)
-{
-    return env->interrupt_request & CPU_INTERRUPT_HARD;
-}
-
 #ifndef CONFIG_USER_ONLY
 #include "softmmu_exec.h"
 #endif
 
-static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
-{
-    env->pc = tb->pc;
-    env->flags = tb->flags;
-}
-
 #endif                         /* _EXEC_SH4_H */