mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
4e7a4a4e84
commit
c50da3df61
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue