OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a25ce9
)
mips: Correct IntCtl write mask for VInt
author
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Mon, 29 Aug 2011 21:07:35 +0000
(23:07 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Tue, 6 Sep 2011 09:09:38 +0000
(11:09 +0200)
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-mips/op_helper.c
patch
|
blob
|
history
diff --git
a/target-mips/op_helper.c
b/target-mips/op_helper.c
index
e7868bf
..
03a4f18
100644
(file)
--- 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 & ~0x00000
2e0) | (arg1 & 0x000002
e0);
+ env->CP0_IntCtl = (env->CP0_IntCtl & ~0x00000
3e0) | (arg1 & 0x000003
e0);
}
void helper_mtc0_srsctl (target_ulong arg1)