diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-02 15:45:45 +0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 11:12:50 -0700 |
commit | ae0d4c0b52f030533dfba98188f61a28f9e87592 (patch) | |
tree | ed42e18702d9968efafa9db561aa9301e4c3c1c1 /target/lm32/op_helper.c | |
parent | 5d0044212c375c0696baef7bba13699277dac5b5 (diff) | |
download | qemu-ae0d4c0b52f030533dfba98188f61a28f9e87592.zip qemu-ae0d4c0b52f030533dfba98188f61a28f9e87592.tar.gz qemu-ae0d4c0b52f030533dfba98188f61a28f9e87592.tar.bz2 |
target/lm32: Convert to CPUClass::tlb_fill
Cc: Michael Walle <michael@walle.cc>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/lm32/op_helper.c')
-rw-r--r-- | target/lm32/op_helper.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/target/lm32/op_helper.c b/target/lm32/op_helper.c index 234d55e..be12b11 100644 --- a/target/lm32/op_helper.c +++ b/target/lm32/op_helper.c @@ -143,21 +143,5 @@ uint32_t HELPER(rcsr_jrx)(CPULM32State *env) { return lm32_juart_get_jrx(env->juart_state); } - -/* Try to fill the TLB and return an exception if error. If retaddr is - * NULL, it means that the function was called in C code (i.e. not - * from generated code or from helper.c) - */ -void tlb_fill(CPUState *cs, target_ulong addr, int size, - MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) -{ - int ret; - - ret = lm32_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); - } -} #endif |