diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-02 16:06:02 +0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 11:12:50 -0700 |
commit | f429d607c7196497dd70b5994b824a3460d7e8df (patch) | |
tree | e17a9bc6d7e8579dec228fcc360b02ddd526d2be /target/microblaze/cpu.c | |
parent | fe5f7b1b3a2317f598687218c348b54e02a75e1f (diff) | |
download | qemu-f429d607c7196497dd70b5994b824a3460d7e8df.zip qemu-f429d607c7196497dd70b5994b824a3460d7e8df.tar.gz qemu-f429d607c7196497dd70b5994b824a3460d7e8df.tar.bz2 |
target/microblaze: Convert to CPUClass::tlb_fill
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/microblaze/cpu.c')
-rw-r--r-- | target/microblaze/cpu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index 5596cd5..0ea5499 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -304,9 +304,8 @@ static void mb_cpu_class_init(ObjectClass *oc, void *data) cc->set_pc = mb_cpu_set_pc; cc->gdb_read_register = mb_cpu_gdb_read_register; cc->gdb_write_register = mb_cpu_gdb_write_register; -#ifdef CONFIG_USER_ONLY - cc->handle_mmu_fault = mb_cpu_handle_mmu_fault; -#else + cc->tlb_fill = mb_cpu_tlb_fill; +#ifndef CONFIG_USER_ONLY cc->do_transaction_failed = mb_cpu_transaction_failed; cc->get_phys_page_debug = mb_cpu_get_phys_page_debug; #endif |