diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-09 14:17:31 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-09 14:17:31 +0000 |
commit | c090a8f4406ac674c1ae0ab4f3a789ca7dcb9720 (patch) | |
tree | 2f348ce0c7814beeb0e8425fbee8f3831e0b2ecd /target-mips/op.c | |
parent | c50da3df61eae8b0c41b7591e315aaf5e9e8d507 (diff) |
Fix CP0_IntCtl handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2645 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op.c')
-rw-r--r-- | target-mips/op.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-mips/op.c b/target-mips/op.c index 4eb8a8926d..026b08ab6f 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -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(); } |