aboutsummaryrefslogtreecommitdiff
path: root/target/alpha/mem_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-04-02 14:51:11 +0700
committerRichard Henderson <richard.henderson@linaro.org>2019-05-10 07:57:39 -0700
commite41c94529740cc26ac6d6eea4bb8b6f77466f5e4 (patch)
tree9b4fe0d3ffaa1f9dcb5056dea9aed40cc64aa1cd /target/alpha/mem_helper.c
parentda6bbf8513e621a8fc2fd315d77318f36547474d (diff)
downloadqemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.zip
qemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.tar.gz
qemu-e41c94529740cc26ac6d6eea4bb8b6f77466f5e4.tar.bz2
target/alpha: Convert to CPUClass::tlb_fill
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/alpha/mem_helper.c')
-rw-r--r--target/alpha/mem_helper.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/target/alpha/mem_helper.c b/target/alpha/mem_helper.c
index 011bc73..934faa1 100644
--- a/target/alpha/mem_helper.c
+++ b/target/alpha/mem_helper.c
@@ -62,20 +62,4 @@ void alpha_cpu_do_transaction_failed(CPUState *cs, hwaddr physaddr,
env->error_code = 0;
cpu_loop_exit_restore(cs, retaddr);
}
-
-/* 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) */
-/* XXX: fix it to restore all registers */
-void tlb_fill(CPUState *cs, target_ulong addr, int size,
- MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
-{
- int ret;
-
- ret = alpha_cpu_handle_mmu_fault(cs, addr, size, access_type, mmu_idx);
- if (unlikely(ret != 0)) {
- /* Exception index and error code are already set */
- cpu_loop_exit_restore(cs, retaddr);
- }
-}
#endif /* CONFIG_USER_ONLY */