Revision 6ebbf390 target-arm/op_helper.c
b/target-arm/op_helper.c | ||
---|---|---|
196 | 196 |
NULL, it means that the function was called in C code (i.e. not |
197 | 197 |
from generated code or from helper.c) */ |
198 | 198 |
/* XXX: fix it to restore all registers */ |
199 |
void tlb_fill (target_ulong addr, int is_write, int is_user, void *retaddr)
|
|
199 |
void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
|
200 | 200 |
{ |
201 | 201 |
TranslationBlock *tb; |
202 | 202 |
CPUState *saved_env; |
... | ... | |
207 | 207 |
generated code */ |
208 | 208 |
saved_env = env; |
209 | 209 |
env = cpu_single_env; |
210 |
ret = cpu_arm_handle_mmu_fault(env, addr, is_write, is_user, 1);
|
|
210 |
ret = cpu_arm_handle_mmu_fault(env, addr, is_write, mmu_idx, 1);
|
|
211 | 211 |
if (__builtin_expect(ret, 0)) { |
212 | 212 |
if (retaddr) { |
213 | 213 |
/* now we have a real cpu fault */ |
Also available in: Unified diff