exec: Make stb_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:
Edgar E. Iglesias 2013-12-17 15:29:06 +10:00
parent 5ce5944dc0
commit db3be60deb
11 changed files with 34 additions and 26 deletions

View file

@ -985,7 +985,7 @@ static uint32_t mvc_asc(CPUS390XState *env, int64_t l, uint64_t a1,
mvc_asc(env, l - i, a1 + i, mode1, a2 + i, mode2);
break;
}
stb_phys(dest + i, ldub_phys(cs->as, src + i));
stb_phys(cs->as, dest + i, ldub_phys(cs->as, src + i));
}
return cc;