mirror of https://github.com/xqemu/xqemu.git
fixed PPC state reloading
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@475 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
678673089d
commit
6dca2016fc
|
@ -190,9 +190,9 @@ int cpu_restore_state(TranslationBlock *tb,
|
||||||
#elif defined(TARGET_ARM)
|
#elif defined(TARGET_ARM)
|
||||||
env->regs[15] = gen_opc_pc[j];
|
env->regs[15] = gen_opc_pc[j];
|
||||||
#elif defined(TARGET_SPARC)
|
#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
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue