mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
2198a12143
commit
5ce5944dc0
14 changed files with 46 additions and 39 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue