mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
exec: Make stl_*_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
f606604f1c
commit
ab1da85791
25 changed files with 133 additions and 115 deletions
|
@ -2449,8 +2449,9 @@ void switch_mode(CPUARMState *env, int mode)
|
|||
|
||||
static void v7m_push(CPUARMState *env, uint32_t val)
|
||||
{
|
||||
CPUState *cs = ENV_GET_CPU(env);
|
||||
env->regs[13] -= 4;
|
||||
stl_phys(env->regs[13], val);
|
||||
stl_phys(cs->as, env->regs[13], val);
|
||||
}
|
||||
|
||||
static uint32_t v7m_pop(CPUARMState *env)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue