summaryrefslogtreecommitdiffstats
path: root/target/i386/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson2019-12-10 19:15:57 +0100
committerRichard Henderson2020-01-16 02:13:10 +0100
commit5d1c4ffc98449b2fd1ce544ce0238aa94f454611 (patch)
treee6f685e96ea27d43616f17450f8d3a5909ff0875 /target/i386/cpu.h
parenttarget/cris: Remove MMU_MODE{0,1}_SUFFIX (diff)
downloadqemu-5d1c4ffc98449b2fd1ce544ce0238aa94f454611.tar.gz
qemu-5d1c4ffc98449b2fd1ce544ce0238aa94f454611.tar.xz
qemu-5d1c4ffc98449b2fd1ce544ce0238aa94f454611.zip
target/i386: Remove MMU_MODE{0,1,2}_SUFFIX
The functions generated by these macros are unused. Cc: Eduardo Habkost <ehabkost@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r--target/i386/cpu.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 594326a794..e6de38ae02 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1955,9 +1955,6 @@ uint64_t cpu_get_tsc(CPUX86State *env);
#define cpu_list x86_cpu_list
/* MMU modes definitions */
-#define MMU_MODE0_SUFFIX _ksmap
-#define MMU_MODE1_SUFFIX _user
-#define MMU_MODE2_SUFFIX _knosmap /* SMAP disabled or CPL<3 && AC=1 */
#define MMU_KSMAP_IDX 0
#define MMU_USER_IDX 1
#define MMU_KNOSMAP_IDX 2