diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2013-12-17 15:22:06 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-02-11 22:57:32 +1000 |
commit | 5ce5944dc0ffdc43c11b5cad11e526f699aabe4c (patch) | |
tree | 5969aafd8a4716d4bc43422711c38b8182a13bc5 /target-s390x | |
parent | 2198a121434b806636318d62c89595c1955e825a (diff) |
exec: Make stw_*_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-s390x')
-rw-r--r-- | target-s390x/mem_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c index 3e9a6d061c..ce3a08e259 100644 --- a/target-s390x/mem_helper.c +++ b/target-s390x/mem_helper.c @@ -1043,7 +1043,8 @@ void HELPER(ptlb)(CPUS390XState *env) /* store using real address */ void HELPER(stura)(CPUS390XState *env, uint64_t addr, uint64_t v1) { - stw_phys(get_address(env, 0, 0, addr), (uint32_t)v1); + CPUState *cs = ENV_GET_CPU(env); + stw_phys(cs->as, get_address(env, 0, 0, addr), (uint32_t)v1); } /* load real address */ |