diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-23 18:39:31 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-06 15:46:17 +0100 |
| commit | cbaae5338b62a6e005e9a97f419b968e04a7004f (patch) | |
| tree | 6648a5965b626b58706bac23a746f820eaa71222 /include/exec/exec-all.h | |
| parent | b28378850444547f8a8d64fe8d81e46d1e0bfeb7 (diff) | |
| download | focaccia-qemu-cbaae5338b62a6e005e9a97f419b968e04a7004f.tar.gz focaccia-qemu-cbaae5338b62a6e005e9a97f419b968e04a7004f.zip | |
accel/tcg: Restrict tlb_init() / destroy() to TCG
Move CPU TLB related methods to accel/tcg/ scope, in "internal-common.h". Suggested-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250123234415.59850-9-philmd@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
| -rw-r--r-- | include/exec/exec-all.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index d9045c9ac4..8eb0df48f9 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -30,16 +30,6 @@ #if !defined(CONFIG_USER_ONLY) && defined(CONFIG_TCG) /* cputlb.c */ /** - * tlb_init - initialize a CPU's TLB - * @cpu: CPU whose TLB should be initialized - */ -void tlb_init(CPUState *cpu); -/** - * tlb_destroy - destroy a CPU's TLB - * @cpu: CPU whose TLB should be destroyed - */ -void tlb_destroy(CPUState *cpu); -/** * tlb_flush_page: * @cpu: CPU whose TLB should be flushed * @addr: virtual address of page to be flushed @@ -223,12 +213,6 @@ void tlb_set_page(CPUState *cpu, vaddr addr, hwaddr paddr, int prot, int mmu_idx, vaddr size); #else -static inline void tlb_init(CPUState *cpu) -{ -} -static inline void tlb_destroy(CPUState *cpu) -{ -} static inline void tlb_flush_page(CPUState *cpu, vaddr addr) { } |