提交 caf8fe8c 编写于 作者: P pbrook

Clear SR_M on a hardware interrupt.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2922 c046a42c-6fe2-441c-8c8c-71466251a162
上级 3a95e3a7
......@@ -148,6 +148,7 @@ void do_interrupt(int is_hw)
env->sr |= SR_S;
if (is_hw) {
env->sr = (env->sr & ~SR_I) | (env->pending_level << SR_I_SHIFT);
env->sr &= ~SR_M;
}
/* Jump to vector. */
env->pc = ldl_kernel(env->vbr + vector);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册