Revision 58a770f3

b/target-sparc/helper.c
115 115
    if ((env->mmuregs[0] & MMU_E) == 0) { /* MMU disabled */
116 116
        // Boot mode: instruction fetches are taken from PROM
117 117
        if (rw == 2 && (env->mmuregs[0] & env->mmu_bm)) {
118
            *physical = env->prom_addr | (address & 0x3ffffULL);
118
            *physical = env->prom_addr | (address & 0x7ffffULL);
119 119
            *prot = PAGE_READ | PAGE_EXEC;
120 120
            return 0;
121 121
        }

Also available in: Unified diff