mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -570,7 +570,7 @@ static target_ulong h_logical_store(PowerPCCPU *cpu, sPAPREnvironment *spapr,
|
|||
stb_phys(addr, val);
|
||||
return H_SUCCESS;
|
||||
case 2:
|
||||
stw_phys(addr, val);
|
||||
stw_phys(cs->as, addr, val);
|
||||
return H_SUCCESS;
|
||||
case 4:
|
||||
stl_phys(cs->as, addr, val);
|
||||
|
@ -635,7 +635,7 @@ static target_ulong h_logical_memop(PowerPCCPU *cpu, sPAPREnvironment *spapr,
|
|||
stb_phys(dst, tmp);
|
||||
break;
|
||||
case 1:
|
||||
stw_phys(dst, tmp);
|
||||
stw_phys(cs->as, dst, tmp);
|
||||
break;
|
||||
case 2:
|
||||
stl_phys(cs->as, dst, tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue