sim-card
/
qemu
Archived
10
0
Fork 0

mips: Correct IntCtl write mask for VInt

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2011-08-29 23:07:35 +02:00
parent 5a25ce9487
commit bc45a67a22
1 changed files with 1 additions and 1 deletions

View File

@ -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)