mirror of
https://git.proxmox.com/git/qemu
synced 2025-07-22 23:00:35 +00:00
mips: Correct IntCtl write mask for VInt
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
5a25ce9487
commit
bc45a67a22
@ -1542,7 +1542,7 @@ void helper_mttc0_status(target_ulong arg1)
|
|||||||
void helper_mtc0_intctl (target_ulong arg1)
|
void helper_mtc0_intctl (target_ulong arg1)
|
||||||
{
|
{
|
||||||
/* vectored interrupts not implemented, no performance counters. */
|
/* 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)
|
void helper_mtc0_srsctl (target_ulong arg1)
|
||||||
|
Loading…
Reference in New Issue
Block a user