Skip to contentSkip to conversation

PATCH: arm guest on Solaris/Sparc host

Qemu-devel Ben Taylor 1 participant 1 message Mar 19, 2007

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw

This patch was suggested by Juergen Keil.

It prevents a crash by qemu when running the arm-test on Solaris/Sparc.

Removing the previous arm patch for sparc uncovered a use of global registers o0-05 which hadn't been defined previously.

Ben

cpu-exec.c +1 -0
@@ -648,6 +648,7 @@
                                      : /* no outputs */
                                      : "r" (gen_func) 
                                      : "i0", "i1", "i2", "i3", "i4", "i5",
+                                       "o0", "o1", "o2", "o3", "o4", "o5",
                                        "l0", "l1", "l2", "l3", "l4", "l5",
                                        "l6", "l7");
 #elif defined(__arm__)