summaryrefslogtreecommitdiffstats
path: root/target/unicore32/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2019-12-10 19:22:22 +0100
committerRichard Henderson2020-01-16 02:13:10 +0100
commit5a13571b01a9bd7f46cf63842d4053bc7570188d (patch)
treedc3dc16ee7df49ce08270127f99c3c77782396c3 /target/unicore32/cpu.h
parenttarget/sh4: Remove MMU_MODE{0,1}_SUFFIX (diff)
downloadqemu-5a13571b01a9bd7f46cf63842d4053bc7570188d.tar.gz
qemu-5a13571b01a9bd7f46cf63842d4053bc7570188d.tar.xz
qemu-5a13571b01a9bd7f46cf63842d4053bc7570188d.zip
target/unicore32: Remove MMU_MODE{0,1}_SUFFIX
The functions generated by these macros are unused. Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/unicore32/cpu.h')
-rw-r--r--target/unicore32/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/unicore32/cpu.h b/target/unicore32/cpu.h
index 50ed9dd99c..7a32e086ed 100644
--- a/target/unicore32/cpu.h
+++ b/target/unicore32/cpu.h
@@ -133,8 +133,6 @@ void cpu_asr_write(CPUUniCore32State *env1, target_ulong val, target_ulong mask)
int uc32_cpu_signal_handler(int host_signum, void *pinfo, void *puc);
/* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _kernel
-#define MMU_MODE1_SUFFIX _user
#define MMU_USER_IDX 1
static inline int cpu_mmu_index(CPUUniCore32State *env, bool ifetch)
{