Fix CP0_IntCtl handling.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2645 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-04-09 14:17:31 +00:00
parent c50da3df61
commit c090a8f440
2 changed files with 6 additions and 2 deletions

View file

@ -1374,8 +1374,9 @@ void op_mtc0_status (void)
void op_mtc0_intctl (void)
{
/* vectored interrupts not implemented */
env->CP0_IntCtl = 0;
/* vectored interrupts not implemented, timer on int 7,
no performance counters. */
env->CP0_IntCtl |= T0 & 0x000002e0;
RETURN();
}