Revision 4d1e4ff6 target-sh4/helper.c
b/target-sh4/helper.c | ||
---|---|---|
377 | 377 |
n = find_itlb_entry(env, address, use_asid, 1); |
378 | 378 |
if (n >= 0) { |
379 | 379 |
matching = &env->itlb[n]; |
380 |
if ((env->sr & SR_MD) & !(matching->pr & 2))
|
|
380 |
if (!(env->sr & SR_MD) && !(matching->pr & 2))
|
|
381 | 381 |
n = MMU_ITLB_VIOLATION; |
382 | 382 |
else |
383 | 383 |
*prot = PAGE_READ; |
Also available in: Unified diff