From e736ef3238b76babc539a9ae3ceea09b2d229540 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 16 May 2019 18:12:09 -0400 Subject: [PATCH] tcg: Remove CPUClass::handle_mmu_fault This hook is now completely replaced by tlb_fill. Backports commit 69963f5709a0645934c169784820d0bee22208ba from qemu --- qemu/include/qom/cpu.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/qemu/include/qom/cpu.h b/qemu/include/qom/cpu.h index 7ff66d67..a5bda0b8 100644 --- a/qemu/include/qom/cpu.h +++ b/qemu/include/qom/cpu.h @@ -110,7 +110,6 @@ struct TranslationBlock; * This always includes at least the program counter; some targets * will need to do more. If this hook is not implemented then the * default is to call @set_pc(tb->pc). - * @handle_mmu_fault: Callback for handling an MMU fault. * @tlb_fill: Callback for handling a softmmu tlb miss or user-only * address fault. For system mode, if the access is valid, call * tlb_set_page and return true; if the access is invalid, and @@ -168,8 +167,6 @@ typedef struct CPUClass { Error **errp); void (*set_pc)(CPUState *cpu, vaddr value); void (*synchronize_from_tb)(CPUState *cpu, struct TranslationBlock *tb); - int (*handle_mmu_fault)(CPUState *cpu, vaddr address, int size, int rw, - int mmu_index); bool (*tlb_fill)(CPUState *cpu, vaddr address, int size, MMUAccessType access_type, int mmu_idx, bool probe, uintptr_t retaddr);