]> Git Repo - qemu.git/blobdiff - target-sh4/cpu.h
Add instruction counter.
[qemu.git] / target-sh4 / cpu.h
index c349bc886267c0744abfe7c4137767910dce6de9..014ecd3422a0c16de3cc5afcb55baa745aa6f016 100644 (file)
@@ -152,6 +152,11 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
 }
 #endif
 
+#define CPU_PC_FROM_TB(env, tb) do { \
+    env->pc = tb->pc; \
+    env->flags = tb->flags; \
+    } while (0)
+
 #include "cpu-all.h"
 
 /* Memory access type */
This page took 0.023207 seconds and 4 git commands to generate.