diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 17:06:11 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-10-30 17:06:11 +0000 |
commit | aea3ce4c8dc2231711e648c4199279fb9b7f25b4 (patch) | |
tree | 3f6ed37f2d36f15246f010fcea9fcc6c580f098f /target-sparc | |
parent | f69a86955e028f963ae31257bd6cb25be705a6cd (diff) |
restore regwptr (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1576 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/exec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h index 942b811897..5f48ba8e6a 100644 --- a/target-sparc/exec.h +++ b/target-sparc/exec.h @@ -152,6 +152,10 @@ void do_rdpsr(); static inline void env_to_regs(void) { +#if defined(reg_REGWPTR) + REGWPTR = env->regbase + (env->cwp * 16); + env->regwptr = REGWPTR; +#endif } static inline void regs_to_env(void) |