summaryrefslogtreecommitdiff
path: root/target-cris/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-cris/exec.h')
-rw-r--r--target-cris/exec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-cris/exec.h b/target-cris/exec.h
index 55776baef..93ce768d7 100644
--- a/target-cris/exec.h
+++ b/target-cris/exec.h
@@ -45,3 +45,9 @@ static inline int cpu_halted(CPUState *env) {
}
return EXCP_HALTED;
}
+
+static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
+{
+ env->pc = tb->pc;
+}
+