Revision c5b9729a target-ppc/op_helper.c

b/target-ppc/op_helper.c
3981 3981
                  tlb->size, TARGET_PAGE_SIZE, (int)((val >> 7) & 0x7));
3982 3982
    }
3983 3983
    tlb->EPN = val & ~(tlb->size - 1);
3984
    if (val & 0x40)
3984
    if (val & 0x40) {
3985 3985
        tlb->prot |= PAGE_VALID;
3986
    else
3986
        if (val & 0x20) {
3987
            /* XXX: TO BE FIXED */
3988
            cpu_abort(env,
3989
                      "Little-endian TLB entries are not supported by now\n");
3990
        }
3991
    } else {
3987 3992
        tlb->prot &= ~PAGE_VALID;
3988
    if (val & 0x20) {
3989
        /* XXX: TO BE FIXED */
3990
        cpu_abort(env, "Little-endian TLB entries are not supported by now\n");
3991 3993
    }
3992 3994
    tlb->PID = env->spr[SPR_40x_PID]; /* PID */
3993 3995
    LOG_SWTLB("%s: set up TLB %d RPN " TARGET_FMT_plx " EPN " TARGET_FMT_lx

Also available in: Unified diff