mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-01 22:42:13 -06:00
target-s390: Fix STURA
We were storing 16 bits instead of 32. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
7f745b31b3
commit
81822c2f42
1 changed files with 1 additions and 1 deletions
|
@ -1039,7 +1039,7 @@ void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1)
|
||||||
{
|
{
|
||||||
CPUState *cs = CPU(s390_env_get_cpu(env));
|
CPUState *cs = CPU(s390_env_get_cpu(env));
|
||||||
|
|
||||||
stw_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
|
stl_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* load real address */
|
/* load real address */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue