mirror of https://gitlab.com/qemu-project/qemu
sparc64 fix context value for ITLB fault
Revert previous change to get_physical_address_code: I/D MMU context register is shared, so using dmmuregs[1] is correct Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
This commit is contained in:
parent
82f2cfc31b
commit
417728d875
|
@ -490,7 +490,7 @@ static int get_physical_address_code(CPUState *env,
|
||||||
#ifdef DEBUG_MMU
|
#ifdef DEBUG_MMU
|
||||||
printf("TMISS at 0x%" PRIx64 "\n", address);
|
printf("TMISS at 0x%" PRIx64 "\n", address);
|
||||||
#endif
|
#endif
|
||||||
env->immuregs[6] = (address & ~0x1fffULL) | (env->immuregs[1] & 0x1fff);
|
env->immuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff);
|
||||||
env->exception_index = TT_TMISS;
|
env->exception_index = TT_TMISS;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue