Commit 58a770f3a4b44d59ea07cfd40a05aa450c045c8f
1 parent
3ebf5aaf
Increase prom size for boot mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3748 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-sparc/helper.c
... | ... | @@ -115,7 +115,7 @@ int get_physical_address (CPUState *env, target_phys_addr_t *physical, int *prot |
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 | } | ... | ... |