Commit aea3ce4c8dc2231711e648c4199279fb9b7f25b4

Authored by bellard
1 parent f69a8695

restore regwptr (Blue Swirl)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1576 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
target-sparc/exec.h
... ... @@ -152,6 +152,10 @@ void do_rdpsr();
152 152  
153 153 static inline void env_to_regs(void)
154 154 {
  155 +#if defined(reg_REGWPTR)
  156 + REGWPTR = env->regbase + (env->cwp * 16);
  157 + env->regwptr = REGWPTR;
  158 +#endif
155 159 }
156 160  
157 161 static inline void regs_to_env(void)
... ...