Revision f25359cd target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
3990 | 3990 |
cpu_abort(env, "Little-endian TLB entries are not supported by now\n"); |
3991 | 3991 |
} |
3992 | 3992 |
tlb->PID = env->spr[SPR_40x_PID]; /* PID */ |
3993 |
tlb->attr = val & 0xFF; |
|
3994 | 3993 |
LOG_SWTLB("%s: set up TLB %d RPN " TARGET_FMT_plx " EPN " TARGET_FMT_lx |
3995 | 3994 |
" size " TARGET_FMT_lx " prot %c%c%c%c PID %d\n", __func__, |
3996 | 3995 |
(int)entry, tlb->RPN, tlb->EPN, tlb->size, |
... | ... | |
4016 | 4015 |
val); |
4017 | 4016 |
entry &= 0x3F; |
4018 | 4017 |
tlb = &env->tlb[entry].tlbe; |
4018 |
tlb->attr = val & 0xFF; |
|
4019 | 4019 |
tlb->RPN = val & 0xFFFFFC00; |
4020 | 4020 |
tlb->prot = PAGE_READ; |
4021 | 4021 |
if (val & 0x200) |
Also available in: Unified diff