Revision 9168b3a5 target-sparc/helper.c
b/target-sparc/helper.c | ||
---|---|---|
495 | 495 |
env->dmmu.sfsr |= (fault_type << 7); |
496 | 496 |
|
497 | 497 |
env->dmmu.sfar = address; /* Fault address register */ |
498 |
|
|
499 |
env->dmmu.tag_access = (address & ~0x1fffULL) | context; |
|
500 |
|
|
498 | 501 |
return 1; |
499 | 502 |
} |
500 | 503 |
} |
... | ... | |
544 | 547 |
env->immu.sfsr |= (is_user << 3) | 1; |
545 | 548 |
env->exception_index = TT_TFAULT; |
546 | 549 |
|
550 |
env->immu.tag_access = (address & ~0x1fffULL) | context; |
|
551 |
|
|
547 | 552 |
DPRINTF_MMU("TFAULT at %" PRIx64 " context %" PRIx64 "\n", |
548 | 553 |
address, context); |
549 | 554 |
|
Also available in: Unified diff