Revision 6d5f237a target-sparc/helper.c

b/target-sparc/helper.c
114 114

  
115 115
    if ((env->mmuregs[0] & MMU_E) == 0) { /* MMU disabled */
116 116
        // Boot mode: instruction fetches are taken from PROM
117
        if (rw == 2 && (env->mmuregs[0] & MMU_BM)) {
117
        if (rw == 2 && (env->mmuregs[0] & env->mmu_bm)) {
118 118
            *physical = 0xff0000000ULL | (address & 0x3ffffULL);
119 119
            *prot = PAGE_READ | PAGE_EXEC;
120 120
            return 0;

Also available in: Unified diff