mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Fix ARM userspace strex implementation.
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
@@ -593,6 +593,7 @@ static int do_strex(CPUARMState *env)
|
||||
}
|
||||
rc = 0;
|
||||
fail:
|
||||
env->regs[15] += 4;
|
||||
env->regs[(env->exclusive_info >> 4) & 0xf] = rc;
|
||||
done:
|
||||
end_exclusive();
|
||||
|
||||
Reference in New Issue
Block a user