mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
exec: Make ldl_*_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
33bde2e13f
commit
fdfba1a298
30 changed files with 186 additions and 145 deletions
|
@ -70,7 +70,7 @@ static void s390_cpu_set_pc(CPUState *cs, vaddr value)
|
|||
static void s390_cpu_load_normal(CPUState *s)
|
||||
{
|
||||
S390CPU *cpu = S390_CPU(s);
|
||||
cpu->env.psw.addr = ldl_phys(4) & PSW_MASK_ESA_ADDR;
|
||||
cpu->env.psw.addr = ldl_phys(s->as, 4) & PSW_MASK_ESA_ADDR;
|
||||
cpu->env.psw.mask = PSW_MASK_32 | PSW_MASK_64;
|
||||
s390_add_running_cpu(cpu);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue