projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f745b3
)
target-s390: Fix STURA
author
Richard Henderson
<rth@twiddle.net>
Fri, 20 Sep 2013 19:46:49 +0000
(12:46 -0700)
committer
Richard Henderson
<rth@twiddle.net>
Tue, 3 Feb 2015 20:06:37 +0000
(12:06 -0800)
We were storing 16 bits instead of 32.
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-s390x/mem_helper.c
patch
|
blob
|
history
diff --git
a/target-s390x/mem_helper.c
b/target-s390x/mem_helper.c
index 5a55de86a13e469f4b64b6f8b77a216492f5f786..4736b7bba838181238c516e464381041cd77ff36 100644
(file)
--- a/
target-s390x/mem_helper.c
+++ b/
target-s390x/mem_helper.c
@@
-1039,7
+1039,7
@@
void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1)
{
CPUState *cs = CPU(s390_env_get_cpu(env));
- st
w
_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
+ st
l
_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
}
/* load real address */