Proper handling of reserved bits in the context register.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2644 c046a42c-6fe2-441c-8c8c-71466251a162
master
ths 2007-04-09 14:16:30 +00:00
parent 4e7a4a4e84
commit c50da3df61
1 changed files with 1 additions and 1 deletions

View File

@ -1293,7 +1293,7 @@ void op_mtc0_entrylo1 (void)
void op_mtc0_context (void)
{
env->CP0_Context = (env->CP0_Context & ~0x007FFFFF) | (T0 & 0x007FFFF0);
env->CP0_Context = (env->CP0_Context & ~0x007FFFFF) | (T0 & ~0x007FFFFF);
RETURN();
}