OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ac437
)
target/sh4: Remove MMU_MODE{0,1}_SUFFIX
author
Richard Henderson
<richard.henderson@linaro.org>
Tue, 10 Dec 2019 18:21:26 +0000
(10:21 -0800)
committer
Richard Henderson
<richard.henderson@linaro.org>
Thu, 16 Jan 2020 01:13:10 +0000
(15:13 -1000)
The functions generated by these macros are unused.
Cc: Aurelien Jarno <aurelien@aurel32.net>
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>
target/sh4/cpu.h
patch
|
blob
|
history
diff --git
a/target/sh4/cpu.h
b/target/sh4/cpu.h
index
ecaa7a1
..
452a596
100644
(file)
--- 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)
{