diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-08-29 23:07:35 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-09-06 11:09:38 +0200 |
commit | bc45a67a22f18146e638a6e550f282f688abdd7f (patch) | |
tree | d1c73f41b1608217999932d078704f5c61a281b6 /target-mips | |
parent | 5a25ce9487430e504430ac77eede44a43a29fc71 (diff) | |
download | qemu-bc45a67a22f18146e638a6e550f282f688abdd7f.zip qemu-bc45a67a22f18146e638a6e550f282f688abdd7f.tar.gz qemu-bc45a67a22f18146e638a6e550f282f688abdd7f.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |