diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-22 11:50:17 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-22 11:50:17 +0000 |
commit | 7bfd934a13636a7bb611dd282959efde28d92faf (patch) | |
tree | 1b57c655eabfbc571c31b967b17b5860abd96120 /target-mips/op.c | |
parent | 022a22c7e1c8bc5521c521ab9cbecfa893b610c4 (diff) | |
download | qemu-7bfd934a13636a7bb611dd282959efde28d92faf.zip qemu-7bfd934a13636a7bb611dd282959efde28d92faf.tar.gz qemu-7bfd934a13636a7bb611dd282959efde28d92faf.tar.bz2 |
Fix write to K0 bits in Config0, by Aurelien Jarno.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3006 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op.c')
-rw-r--r-- | target-mips/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/op.c b/target-mips/op.c index a65977a..66e27e2 100644 --- a/target-mips/op.c +++ b/target-mips/op.c @@ -1433,7 +1433,7 @@ void op_mtc0_ebase (void) void op_mtc0_config0 (void) { - env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000001); + env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000007); RETURN(); } |