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;
|
||||
fail:
|
||||
env->regs[15] += 4;
|
||||
env->regs[(env->exclusive_info >> 4) & 0xf] = rc;
|
||||
done:
|
||||
end_exclusive();
|
||||
|
Loading…
Reference in New Issue
Block a user