[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 24/24] target/ppc: Restrict ppc_cpu_tlb_fill to TCG
From: |
Richard Henderson |
Subject: |
[PATCH 24/24] target/ppc: Restrict ppc_cpu_tlb_fill to TCG |
Date: |
Tue, 18 May 2021 15:11:46 -0500 |
This function is used by TCGCPUOps, and is thus TCG specific.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/ppc/mmu_helper.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c
index 2535ea1836..78e6f7496b 100644
--- a/target/ppc/mmu_helper.c
+++ b/target/ppc/mmu_helper.c
@@ -2964,6 +2964,7 @@ hwaddr ppc_cpu_get_phys_page_debug(CPUState *cs, vaddr
addr)
return -1;
}
+#ifdef CONFIG_TCG
bool ppc_cpu_tlb_fill(CPUState *cs, vaddr eaddr, int size,
MMUAccessType access_type, int mmu_idx,
bool probe, uintptr_t retaddr)
@@ -2984,3 +2985,4 @@ bool ppc_cpu_tlb_fill(CPUState *cs, vaddr eaddr, int size,
raise_exception_err_ra(&cpu->env, cs->exception_index,
cpu->env.error_code, retaddr);
}
+#endif
--
2.25.1
- Re: [PATCH 20/24] target/ppc: Split out ppc_hash64_xlate, (continued)
- [PATCH 18/24] target/ppc: Push real-mode handling into ppc_radix64_xlate, Richard Henderson, 2021/05/18
- [PATCH 19/24] target/ppc: Use bool success for ppc_radix64_xlate, Richard Henderson, 2021/05/18
- [PATCH 21/24] target/ppc: Split out ppc_hash32_xlate, Richard Henderson, 2021/05/18
- [PATCH 22/24] target/ppc: Split out ppc_jumbo_xlate, Richard Henderson, 2021/05/18
- [PATCH 24/24] target/ppc: Restrict ppc_cpu_tlb_fill to TCG,
Richard Henderson <=
- [PATCH 23/24] target/ppc: Introduce ppc_xlate, Richard Henderson, 2021/05/18
- Re: [PATCH 00/24] target/ppc: Clean up mmu translation, David Gibson, 2021/05/18