diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-12-10 10:49:16 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-01-15 15:13:10 -1000 |
commit | 330edfcc84a7b652ffc0e2856dcd363605cdd3b0 (patch) | |
tree | 7342058c276c1b2fa8177ddfce76bf392a0f139b /target/m68k/cpu.h | |
parent | 28c4b86928e52fcd0b2ad1358eded204ffa40101 (diff) | |
download | qemu-330edfcc84a7b652ffc0e2856dcd363605cdd3b0.zip qemu-330edfcc84a7b652ffc0e2856dcd363605cdd3b0.tar.gz qemu-330edfcc84a7b652ffc0e2856dcd363605cdd3b0.tar.bz2 |
target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0,1}_SUFFIX
The generated *_user functions are unused. The *_kernel functions
have a couple of users in op_helper.c; use *_mmuidx_ra instead,
with MMU_KERNEL_IDX.
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
v2: Use *_mmuidx_ra directly, without intermediate macros.
Diffstat (limited to 'target/m68k/cpu.h')
-rw-r--r-- | target/m68k/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/m68k/cpu.h b/target/m68k/cpu.h index 11c71fa..3de8e06 100644 --- a/target/m68k/cpu.h +++ b/target/m68k/cpu.h @@ -519,8 +519,6 @@ enum { #define cpu_list m68k_cpu_list /* MMU modes definitions */ -#define MMU_MODE0_SUFFIX _kernel -#define MMU_MODE1_SUFFIX _user #define MMU_KERNEL_IDX 0 #define MMU_USER_IDX 1 static inline int cpu_mmu_index (CPUM68KState *env, bool ifetch) |