summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-08-29 23:07:35 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-09-06 11:09:38 +0200
commitbc45a67a22f18146e638a6e550f282f688abdd7f (patch)
treed1c73f41b1608217999932d078704f5c61a281b6 /target-mips
parent5a25ce9487430e504430ac77eede44a43a29fc71 (diff)
mips: Correct IntCtl write mask for VInt
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index e7868bfe89..03a4f1839a 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)