Revision 6ebbf390 target-ppc/op_helper.c
b/target-ppc/op_helper.c | ||
---|---|---|
2307 | 2307 |
NULL, it means that the function was called in C code (i.e. not |
2308 | 2308 |
from generated code or from helper.c) */ |
2309 | 2309 |
/* XXX: fix it to restore all registers */ |
2310 |
void tlb_fill (target_ulong addr, int is_write, int is_user, void *retaddr)
|
|
2310 |
void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
|
2311 | 2311 |
{ |
2312 | 2312 |
TranslationBlock *tb; |
2313 | 2313 |
CPUState *saved_env; |
... | ... | |
2318 | 2318 |
generated code */ |
2319 | 2319 |
saved_env = env; |
2320 | 2320 |
env = cpu_single_env; |
2321 |
ret = cpu_ppc_handle_mmu_fault(env, addr, is_write, is_user, 1);
|
|
2321 |
ret = cpu_ppc_handle_mmu_fault(env, addr, is_write, mmu_idx, 1);
|
|
2322 | 2322 |
if (unlikely(ret != 0)) { |
2323 | 2323 |
if (likely(retaddr)) { |
2324 | 2324 |
/* now we have a real cpu fault */ |
Also available in: Unified diff