Revision 6ebbf390 target-sh4/op_helper.c
b/target-sh4/op_helper.c | ||
---|---|---|
42 | 42 |
#define SHIFT 3 |
43 | 43 |
#include "softmmu_template.h" |
44 | 44 |
|
45 |
void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr)
|
|
45 |
void tlb_fill(target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
|
46 | 46 |
{ |
47 | 47 |
TranslationBlock *tb; |
48 | 48 |
CPUState *saved_env; |
... | ... | |
53 | 53 |
generated code */ |
54 | 54 |
saved_env = env; |
55 | 55 |
env = cpu_single_env; |
56 |
ret = cpu_sh4_handle_mmu_fault(env, addr, is_write, is_user, 1);
|
|
56 |
ret = cpu_sh4_handle_mmu_fault(env, addr, is_write, mmu_idx, 1);
|
|
57 | 57 |
if (ret) { |
58 | 58 |
if (retaddr) { |
59 | 59 |
/* now we have a real cpu fault */ |
Also available in: Unified diff