Commit 7ab463cb524af324c4357ef4c148056c7e124f2c
1 parent
41d72852
Clarify: dmmuregs[1] is not a typo
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
target-sparc/helper.c
... | ... | @@ -490,6 +490,7 @@ static int get_physical_address_code(CPUState *env, |
490 | 490 | #ifdef DEBUG_MMU |
491 | 491 | printf("TMISS at 0x%" PRIx64 "\n", address); |
492 | 492 | #endif |
493 | + /* Context is stored in DMMU (dmmuregs[1]) also for IMMU */ | |
493 | 494 | env->immuregs[6] = (address & ~0x1fffULL) | (env->dmmuregs[1] & 0x1fff); |
494 | 495 | env->exception_index = TT_TMISS; |
495 | 496 | return 1; | ... | ... |