aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/mmu-radix64.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-21 09:51:07 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-07-09 10:38:18 +1000
commit1b4d1cb31a886418635e288f89b2da24fd091c55 (patch)
treecf387863c3653088c80d1103dadd4ede472cba11 /target/ppc/mmu-radix64.h
parentdb20cc2c563bfa259f7574a064190cf6456861f6 (diff)
downloadqemu-1b4d1cb31a886418635e288f89b2da24fd091c55.zip
qemu-1b4d1cb31a886418635e288f89b2da24fd091c55.tar.gz
qemu-1b4d1cb31a886418635e288f89b2da24fd091c55.tar.bz2
target/ppc: Use MMUAccessType with *_handle_mmu_fault
These changes were waiting until we didn't need to match the function type of PowerPCCPUClass.handle_mmu_fault. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210621125115.67717-3-bruno.larsen@eldorado.org.br> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/mmu-radix64.h')
-rw-r--r--target/ppc/mmu-radix64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ppc/mmu-radix64.h b/target/ppc/mmu-radix64.h
index f28c579..94bd72c 100644
--- a/target/ppc/mmu-radix64.h
+++ b/target/ppc/mmu-radix64.h
@@ -44,8 +44,8 @@
#ifdef TARGET_PPC64
-int ppc_radix64_handle_mmu_fault(PowerPCCPU *cpu, vaddr eaddr, int rwx,
- int mmu_idx);
+int ppc_radix64_handle_mmu_fault(PowerPCCPU *cpu, vaddr eaddr,
+ MMUAccessType access_type, int mmu_idx);
hwaddr ppc_radix64_get_phys_page_debug(PowerPCCPU *cpu, target_ulong addr);
static inline int ppc_radix64_get_prot_eaa(uint64_t pte)