qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4758] Fix boot problem on i386 host introduced in r4690
@ 2008-06-20 15:06 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-06-20 15:06 UTC (permalink / raw)
  To: qemu-devel

Revision: 4758
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4758
Author:   blueswir1
Date:     2008-06-20 15:06:42 +0000 (Fri, 20 Jun 2008)

Log Message:
-----------
Fix boot problem on i386 host introduced in r4690

Modified Paths:
--------------
    trunk/target-sparc/op_helper.c

Modified: trunk/target-sparc/op_helper.c
===================================================================
--- trunk/target-sparc/op_helper.c	2008-06-20 14:50:55 UTC (rev 4757)
+++ trunk/target-sparc/op_helper.c	2008-06-20 15:06:42 UTC (rev 4758)
@@ -2622,12 +2622,12 @@
 void cpu_set_cwp(CPUState *env1, int new_cwp)
 {
     /* put the modified wrap registers at their proper location */
-    if (env1->cwp == env->nwindows - 1)
-        memcpy32(env1->regbase, env1->regbase + env->nwindows * 16);
+    if (env1->cwp == env1->nwindows - 1)
+        memcpy32(env1->regbase, env1->regbase + env1->nwindows * 16);
     env1->cwp = new_cwp;
     /* put the wrap registers at their temporary location */
-    if (new_cwp == env->nwindows - 1)
-        memcpy32(env1->regbase + env->nwindows * 16, env1->regbase);
+    if (new_cwp == env1->nwindows - 1)
+        memcpy32(env1->regbase + env1->nwindows * 16, env1->regbase);
     env1->regwptr = env1->regbase + (new_cwp * 16);
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-20 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 15:06 [Qemu-devel] [4758] Fix boot problem on i386 host introduced in r4690 Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).