From: blueswir1 Date: Sun, 14 Oct 2007 20:27:00 +0000 (+0000) Subject: Fix bug in Sparc32 sta op (Robert Reif) X-Git-Tag: xen-3.3.0-rc1~960 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=94ced0753493b1732a212f2435ff6ca776468c10;p=qemu-xen-4.1-testing.git Fix bug in Sparc32 sta op (Robert Reif) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3399 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index 28c18b403..da4c18d2d 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -618,7 +618,7 @@ void helper_st_asi(int asi, int size) stl_phys((target_phys_addr_t)(T0 & ~3) | ((target_phys_addr_t)(asi & 0xf) << 32), T1); stl_phys((target_phys_addr_t)((T0 + 4) & ~3) - | ((target_phys_addr_t)(asi & 0xf) << 32), T1); + | ((target_phys_addr_t)(asi & 0xf) << 32), T2); break; } }