]> Git Repo - qemu.git/blobdiff - target-sh4/exec.h
target-sh4: correct use of ! and &
[qemu.git] / target-sh4 / exec.h
index edd667d70316e81b0f42e73f8e6d27f6e23457bd..2999c023c0130ea4ca1be18a05eb78d37cc8d38c 100644 (file)
@@ -47,4 +47,10 @@ static inline int cpu_halted(CPUState *env) {
 #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 */
This page took 0.024539 seconds and 4 git commands to generate.