summaryrefslogtreecommitdiff
path: root/translate-all.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-23 17:32:06 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-23 17:32:06 +0000
commit6dca2016fc0cca49ce866b7f2fcfffe011c1f496 (patch)
tree098ab09e0fe6f0c75ecfeb65a2616c2d1d5ba60d /translate-all.c
parent678673089d1ba7cd0f2960a2815a0d5bb8a72fa3 (diff)
fixed PPC state reloading
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@475 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-all.c')
-rw-r--r--translate-all.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/translate-all.c b/translate-all.c
index ff9e037bb..b02c87a22 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -190,9 +190,9 @@ int cpu_restore_state(TranslationBlock *tb,
#elif defined(TARGET_ARM)
env->regs[15] = gen_opc_pc[j];
#elif defined(TARGET_SPARC)
- env->pc = gen_opc_pc[j];
+ env->pc = gen_opc_pc[j];
+#elif defined(TARGET_PPC)
+ env->nip = gen_opc_pc[j];
#endif
return 0;
}
-
-