Revision d4c430a8 target-microblaze/helper.c
b/target-microblaze/helper.c | ||
---|---|---|
76 | 76 |
|
77 | 77 |
DMMU(qemu_log("MMU map mmu=%d v=%x p=%x prot=%x\n", |
78 | 78 |
mmu_idx, vaddr, paddr, lu.prot)); |
79 |
r = tlb_set_page(env, vaddr,
|
|
80 |
paddr, lu.prot, mmu_idx, is_softmmu);
|
|
79 |
tlb_set_page(env, vaddr, paddr, lu.prot, mmu_idx, TARGET_PAGE_SIZE);
|
|
80 |
r = 0;
|
|
81 | 81 |
} else { |
82 | 82 |
env->sregs[SR_EAR] = address; |
83 | 83 |
DMMU(qemu_log("mmu=%d miss v=%x\n", mmu_idx, address)); |
... | ... | |
107 | 107 |
/* MMU disabled or not available. */ |
108 | 108 |
address &= TARGET_PAGE_MASK; |
109 | 109 |
prot = PAGE_BITS; |
110 |
r = tlb_set_page(env, address, address, prot, mmu_idx, is_softmmu); |
|
110 |
tlb_set_page(env, address, address, prot, mmu_idx, TARGET_PAGE_SIZE); |
|
111 |
r = 0; |
|
111 | 112 |
} |
112 | 113 |
return r; |
113 | 114 |
} |
Also available in: Unified diff