提交 725b8a69 编写于 作者: P Paul Brook

Fix ARM userspace strex implementation.

Signed-off-by: NPaul Brook <paul@codesourcery.com>
上级 7029a83b
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册