aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/exec.h')
-rw-r--r--target-alpha/exec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-alpha/exec.h b/target-alpha/exec.h
index 0fb459da43..a8a38d29f4 100644
--- a/target-alpha/exec.h
+++ b/target-alpha/exec.h
@@ -53,4 +53,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;
+}
+
#endif /* !defined (__ALPHA_EXEC_H__) */