diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-02 14:51:11 +0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 07:57:39 -0700 |
commit | e41c94529740cc26ac6d6eea4bb8b6f77466f5e4 (patch) | |
tree | 9b4fe0d3ffaa1f9dcb5056dea9aed40cc64aa1cd /target/alpha/cpu.c | |
parent | da6bbf8513e621a8fc2fd315d77318f36547474d (diff) | |
download | qemu-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/cpu.c')
-rw-r--r-- | target/alpha/cpu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index ad3588a..7c81be4 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -225,9 +225,8 @@ static void alpha_cpu_class_init(ObjectClass *oc, void *data) cc->set_pc = alpha_cpu_set_pc; cc->gdb_read_register = alpha_cpu_gdb_read_register; cc->gdb_write_register = alpha_cpu_gdb_write_register; -#ifdef CONFIG_USER_ONLY - cc->handle_mmu_fault = alpha_cpu_handle_mmu_fault; -#else + cc->tlb_fill = alpha_cpu_tlb_fill; +#ifndef CONFIG_USER_ONLY cc->do_transaction_failed = alpha_cpu_do_transaction_failed; cc->do_unaligned_access = alpha_cpu_do_unaligned_access; cc->get_phys_page_debug = alpha_cpu_get_phys_page_debug; |