提交 bc45a67a 编写于 作者: E Edgar E. Iglesias

mips: Correct IntCtl write mask for VInt

Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@gmail.com>
上级 5a25ce94
......@@ -1542,7 +1542,7 @@ void helper_mttc0_status(target_ulong arg1)
void helper_mtc0_intctl (target_ulong arg1)
{
/* vectored interrupts not implemented, no performance counters. */
env->CP0_IntCtl = (env->CP0_IntCtl & ~0x000002e0) | (arg1 & 0x000002e0);
env->CP0_IntCtl = (env->CP0_IntCtl & ~0x000003e0) | (arg1 & 0x000003e0);
}
void helper_mtc0_srsctl (target_ulong arg1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册