Revision 6ebbf390 target-i386/helper.c
b/target-i386/helper.c | ||
---|---|---|
3885 | 3885 |
NULL, it means that the function was called in C code (i.e. not |
3886 | 3886 |
from generated code or from helper.c) */ |
3887 | 3887 |
/* XXX: fix it to restore all registers */ |
3888 |
void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
|
|
3888 |
void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
|
3889 | 3889 |
{ |
3890 | 3890 |
TranslationBlock *tb; |
3891 | 3891 |
int ret; |
... | ... | |
3897 | 3897 |
saved_env = env; |
3898 | 3898 |
env = cpu_single_env; |
3899 | 3899 |
|
3900 |
ret = cpu_x86_handle_mmu_fault(env, addr, is_write, is_user, 1);
|
|
3900 |
ret = cpu_x86_handle_mmu_fault(env, addr, is_write, mmu_idx, 1);
|
|
3901 | 3901 |
if (ret) { |
3902 | 3902 |
if (retaddr) { |
3903 | 3903 |
/* now we have a real cpu fault */ |
Also available in: Unified diff