diff options
Diffstat (limited to 'target-s390x/exec.h')
-rw-r--r-- | target-s390x/exec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target-s390x/exec.h b/target-s390x/exec.h index 837f853475..bf3f264026 100644 --- a/target-s390x/exec.h +++ b/target-s390x/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->psw.addr = tb->pc; +} + |