From eb20c1c6da60c8c75f08def03b0822a48af620ac Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 12 Mar 2013 00:31:49 +0000 Subject: target-ppc: Move ppc tlb_fill implementation into mmu_helper.c For softmmu builds the interface from the generic code to the target specific MMU implementation is through the tlb_fill() function. For ppc this is currently in mem_helper.c, whereas it would make more sense in mmu_helper.c. This patch moves it, which also allows cpu_ppc_handle_mmu_fault() to become a local function in mmu_helper.c Signed-off-by: David Gibson Signed-off-by: Alexander Graf --- target-ppc/cpu.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'target-ppc/cpu.h') diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 1777438..42c36e2 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1090,8 +1090,6 @@ int cpu_ppc_exec (CPUPPCState *s); is returned if the signal was handled by the virtual CPU. */ int cpu_ppc_signal_handler (int host_signum, void *pinfo, void *puc); -int cpu_ppc_handle_mmu_fault (CPUPPCState *env, target_ulong address, int rw, - int mmu_idx); void ppc_hw_interrupt (CPUPPCState *env); #if defined(CONFIG_USER_ONLY) int cpu_handle_mmu_fault(CPUPPCState *env, target_ulong address, int rw, -- cgit v1.1