mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 19:15:32 +00:00
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)
|
void op_mtc0_context (void)
|
||||||
{
|
{
|
||||||
env->CP0_Context = (env->CP0_Context & ~0x007FFFFF) | (T0 & 0x007FFFF0);
|
env->CP0_Context = (env->CP0_Context & ~0x007FFFFF) | (T0 & ~0x007FFFFF);
|
||||||
RETURN();
|
RETURN();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user