From bc45a67a22f18146e638a6e550f282f688abdd7f Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Mon, 29 Aug 2011 23:07:35 +0200 Subject: mips: Correct IntCtl write mask for VInt Signed-off-by: Edgar E. Iglesias --- target-mips/op_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-mips') diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index e7868bf..03a4f18 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -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) -- cgit v1.1