mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 18:13:00 +00:00
Fix ARM userspace strex implementation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
7029a83bd6
commit
725b8a6983
@ -593,6 +593,7 @@ static int do_strex(CPUARMState *env)
|
|||||||
}
|
}
|
||||||
rc = 0;
|
rc = 0;
|
||||||
fail:
|
fail:
|
||||||
|
env->regs[15] += 4;
|
||||||
env->regs[(env->exclusive_info >> 4) & 0xf] = rc;
|
env->regs[(env->exclusive_info >> 4) & 0xf] = rc;
|
||||||
done:
|
done:
|
||||||
end_exclusive();
|
end_exclusive();
|
||||||
|
Loading…
Reference in New Issue
Block a user