Revision ec5c3e48

b/target-ppc/helper.c
1155 1155
                             env->spr[SPR_40x_PID], 0, i) < 0)
1156 1156
            continue;
1157 1157
        zsel = (tlb->attr >> 4) & 0xF;
1158
        zpr = (env->spr[SPR_40x_ZPR] >> (28 - (2 * zsel))) & 0x3;
1158
        zpr = (env->spr[SPR_40x_ZPR] >> (30 - (2 * zsel))) & 0x3;
1159 1159
        LOG_SWTLB("%s: TLB %d zsel %d zpr %d rw %d attr %08x\n",
1160 1160
                    __func__, i, zsel, zpr, rw, tlb->attr);
1161 1161
        /* Check execute enable bit */

Also available in: Unified diff