[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 28/41] target/sh4: Remove MMU_MODE{0,1}_SUFFIX
From: |
Richard Henderson |
Subject: |
[PULL 28/41] target/sh4: Remove MMU_MODE{0,1}_SUFFIX |
Date: |
Wed, 8 Jan 2020 14:45:10 +1100 |
The functions generated by these macros are unused.
Cc: Aurelien Jarno <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
target/sh4/cpu.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/target/sh4/cpu.h b/target/sh4/cpu.h
index ecaa7a18a9..452a596e67 100644
--- a/target/sh4/cpu.h
+++ b/target/sh4/cpu.h
@@ -254,8 +254,6 @@ void cpu_load_tlb(CPUSH4State * env);
#define cpu_list sh4_cpu_list
/* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _kernel
-#define MMU_MODE1_SUFFIX _user
#define MMU_USER_IDX 1
static inline int cpu_mmu_index (CPUSH4State *env, bool ifetch)
{
--
2.20.1
- [PULL 18/41] translator: Use cpu_ld*_code instead of open-coding, (continued)
- [PULL 18/41] translator: Use cpu_ld*_code instead of open-coding, Richard Henderson, 2020/01/07
- [PULL 19/41] cputlb: Rename helper_ret_ld*_cmmu to cpu_ld*_code, Richard Henderson, 2020/01/07
- [PULL 20/41] cputlb: Provide cpu_(ld,st}*_mmuidx_ra for user-only, Richard Henderson, 2020/01/07
- [PULL 21/41] target/i386: Use cpu_*_mmuidx_ra instead of templates, Richard Henderson, 2020/01/07
- [PULL 22/41] cputlb: Expand cpu_ldst_useronly_template.h in user-exec.c, Richard Henderson, 2020/01/07
- [PULL 23/41] target/nios2: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 24/41] target/alpha: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 25/41] target/cris: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 26/41] target/i386: Remove MMU_MODE{0,1,2}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 27/41] target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 28/41] target/sh4: Remove MMU_MODE{0,1}_SUFFIX,
Richard Henderson <=
- [PULL 29/41] target/unicore32: Remove MMU_MODE{0,1}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 30/41] target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 31/41] target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0, 1}_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 32/41] target/mips: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 33/41] target/s390x: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 34/41] target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 35/41] cputlb: Remove support for MMU_MODE*_SUFFIX, Richard Henderson, 2020/01/07
- [PULL 36/41] cputlb: Expand cpu_ldst_template.h in cputlb.c, Richard Henderson, 2020/01/07
- [PULL 37/41] tcg: Search includes from the project root source directory, Richard Henderson, 2020/01/07
- [PULL 38/41] tcg: Search includes in the parent source directory, Richard Henderson, 2020/01/07