Commit 6dca2016fc0cca49ce866b7f2fcfffe011c1f496
1 parent
67867308
fixed PPC state reloading
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@475 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
3 deletions
translate-all.c
... | ... | @@ -190,9 +190,9 @@ int cpu_restore_state(TranslationBlock *tb, |
190 | 190 | #elif defined(TARGET_ARM) |
191 | 191 | env->regs[15] = gen_opc_pc[j]; |
192 | 192 | #elif defined(TARGET_SPARC) |
193 | - env->pc = gen_opc_pc[j]; | |
193 | + env->pc = gen_opc_pc[j]; | |
194 | +#elif defined(TARGET_PPC) | |
195 | + env->nip = gen_opc_pc[j]; | |
194 | 196 | #endif |
195 | 197 | return 0; |
196 | 198 | } |
197 | - | |
198 | - | ... | ... |