Commit 7bfd934a13636a7bb611dd282959efde28d92faf

Authored by ths
1 parent 022a22c7

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
Showing 1 changed file with 1 additions and 1 deletions
target-mips/op.c
... ... @@ -1433,7 +1433,7 @@ void op_mtc0_ebase (void)
1433 1433  
1434 1434 void op_mtc0_config0 (void)
1435 1435 {
1436   - env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000001);
  1436 + env->CP0_Config0 = (env->CP0_Config0 & 0x81FFFFF8) | (T0 & 0x00000007);
1437 1437 RETURN();
1438 1438 }
1439 1439  
... ...