[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/11] include/exec: Remove env_tlb()
From: |
Anton Johansson |
Subject: |
[PATCH 08/11] include/exec: Remove env_tlb() |
Date: |
Tue, 12 Sep 2023 17:34:25 +0200 |
The function is no longer used to access the TLB, and has been replaced
by cpu_tlb().
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
include/exec/cpu-all.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index b03218d7d3..ee21f94969 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -484,17 +484,6 @@ static inline CPUNegativeOffsetState *cpu_neg(CPUState
*cpu)
return &arch_cpu->neg;
}
-/**
- * env_tlb(env)
- * @env: The architecture environment
- *
- * Return the CPUTLB state associated with the environment.
- */
-static inline CPUTLB *env_tlb(CPUArchState *env)
-{
- return &env_neg(env)->tlb;
-}
-
/**
* cpu_tlb(cpu)
* @cpu: The generic CPUState
--
2.41.0
- [PATCH 00/11] Reduce usage of CPUArchState in cputlb.c, Anton Johansson, 2023/09/12
- [PATCH 01/11] target/arm: Replace TARGET_PAGE_ENTRY_EXTRA, Anton Johansson, 2023/09/12
- [PATCH 02/11] include: Introduce tlb_ptr field to CPUState, Anton Johansson, 2023/09/12
- [PATCH 08/11] include/exec: Remove env_tlb(),
Anton Johansson <=
- [PATCH 10/11] accel/tcg: Unify user and softmmu do_[st|ld]*_mmu(), Anton Johansson, 2023/09/12
- [PATCH 11/11] accel/tcg: move ld/st helpers to ldst_common.c.inc, Anton Johansson, 2023/09/12
- [PATCH 05/11] accel/tcg: Modifies memory access functions to use CPUState, Anton Johansson, 2023/09/12
- [PATCH 06/11] accel/tcg: Modify atomic_mmu_lookup() to use CPUState, Anton Johansson, 2023/09/12
- [PATCH 09/11] tcg: Update env_tlb() comments, Anton Johansson, 2023/09/12
- [PATCH 04/11] accel/tcg: Modify probe_access_internal() to use CPUState, Anton Johansson, 2023/09/12
- [PATCH 03/11] accel/tcg: Modify tlb_*() to use CPUState, Anton Johansson, 2023/09/12