qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [ADD] PPC processor emulation


From: J. Mayer
Subject: Re: [Qemu-devel] [ADD] PPC processor emulation
Date: 18 Nov 2003 09:00:39 +0100

translate-all.c.diff

Fix for PPC target support.

diff -urNbB -x CVS qemu-current/translate-all.c qemu/translate-all.c
--- qemu-current/translate-all.c        Tue Nov 18 06:51:10 2003
+++ qemu/translate-all.c        Tue Nov 11 00:10:49 2003
@@ -191,6 +191,8 @@
     env->regs[15] = gen_opc_pc[j];
 #elif defined(TARGET_SPARC)
        env->pc = gen_opc_pc[j];
+#elif defined(TARGET_PPC)
+    env->gpr[1] = gen_opc_pc[j];
 #endif
     return 0;
 }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]