diff options
Diffstat (limited to 'target/tricore/helper.c')
-rw-r--r-- | target/tricore/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tricore/helper.c b/target/tricore/helper.c index 174f666..649373a 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -48,7 +48,7 @@ hwaddr tricore_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) TriCoreCPU *cpu = TRICORE_CPU(cs); hwaddr phys_addr; int prot; - int mmu_idx = cpu_mmu_index(&cpu->env, false); + int mmu_idx = cpu_mmu_index(cs, false); if (get_physical_address(&cpu->env, &phys_addr, &prot, addr, MMU_DATA_LOAD, mmu_idx)) { |