Revision 6ebbf390 target-mips/helper.c
b/target-mips/helper.c | ||
---|---|---|
229 | 229 |
#endif /* !defined(CONFIG_USER_ONLY) */ |
230 | 230 |
|
231 | 231 |
int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
232 |
int is_user, int is_softmmu)
|
|
232 |
int mmu_idx, int is_softmmu)
|
|
233 | 233 |
{ |
234 | 234 |
target_ulong physical; |
235 | 235 |
int prot; |
... | ... | |
241 | 241 |
#if 0 |
242 | 242 |
cpu_dump_state(env, logfile, fprintf, 0); |
243 | 243 |
#endif |
244 |
fprintf(logfile, "%s pc " TARGET_FMT_lx " ad " TARGET_FMT_lx " rw %d is_user %d smmu %d\n",
|
|
245 |
__func__, env->PC[env->current_tc], address, rw, is_user, is_softmmu);
|
|
244 |
fprintf(logfile, "%s pc " TARGET_FMT_lx " ad " TARGET_FMT_lx " rw %d mmu_idx %d smmu %d\n",
|
|
245 |
__func__, env->PC[env->current_tc], address, rw, mmu_idx, is_softmmu);
|
|
246 | 246 |
} |
247 | 247 |
|
248 | 248 |
rw &= 1; |
... | ... | |
265 | 265 |
if (ret == TLBRET_MATCH) { |
266 | 266 |
ret = tlb_set_page(env, address & TARGET_PAGE_MASK, |
267 | 267 |
physical & TARGET_PAGE_MASK, prot, |
268 |
is_user, is_softmmu);
|
|
268 |
mmu_idx, is_softmmu);
|
|
269 | 269 |
} else if (ret < 0) { |
270 | 270 |
do_fault: |
271 | 271 |
switch (ret) { |
Also available in: Unified diff