diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-02 16:47:37 +0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 11:12:50 -0700 |
commit | 0137c93ff8cbcebf8f8b1bc354b5928016387eef (patch) | |
tree | 09009340b19420b4563d54f82f59e40826cedca0 /target/nios2/mmu.c | |
parent | ccfd61fc6bda50456d54b915ddcdc248751b3098 (diff) |
target/nios2: Convert to CPUClass::tlb_fill
Remove the leftover debugging cpu_dump_state.
Cc: Chris Wulff <crwulff@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2/mmu.c')
-rw-r--r-- | target/nios2/mmu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target/nios2/mmu.c b/target/nios2/mmu.c index 5acf442d8b..47fa474efb 100644 --- a/target/nios2/mmu.c +++ b/target/nios2/mmu.c @@ -36,18 +36,6 @@ #define MMU_LOG(x) #endif -void tlb_fill(CPUState *cs, target_ulong addr, int size, - MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) -{ - int ret; - - ret = nios2_cpu_handle_mmu_fault(cs, addr, size, access_type, mmu_idx); - if (unlikely(ret)) { - /* now we have a real cpu fault */ - cpu_loop_exit_restore(cs, retaddr); - } -} - void mmu_read_debug(CPUNios2State *env, uint32_t rn) { switch (rn) { |