]> git.proxmox.com Git - qemu.git/commitdiff
fixed PPC state reloading
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Nov 2003 17:32:06 +0000 (17:32 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 23 Nov 2003 17:32:06 +0000 (17:32 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@475 c046a42c-6fe2-441c-8c8c-71466251a162

translate-all.c

index ff9e037bb068c55e87dc705e9f85d2cf7b3f7f6a..b02c87a221237ea7bec1cfd2279f527b3ac30398 100644 (file)
@@ -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;
 }
-
-