target-ppc: Disentangle hash mmu paths for cpu_ppc_handle_mmu_fault
[qemu/agraf.git] / target-ppc / mmu-hash32.h
blob8f1f2a92a3f0cde728f47e630c76579a32255bb0
1 #if !defined (__MMU_HASH32_H__)
2 #define __MMU_HASH32_H__
4 #ifndef CONFIG_USER_ONLY
6 int pte32_is_valid(target_ulong pte0);
7 int ppc_hash32_get_physical_address(CPUPPCState *env, mmu_ctx_t *ctx,
8 target_ulong eaddr, int rw, int access_type);
9 int ppc_hash32_handle_mmu_fault(CPUPPCState *env, target_ulong address, int rw,
10 int mmu_idx);
12 #endif /* CONFIG_USER_ONLY */
14 #endif /* __MMU_HASH32_H__ */