summary refs log tree commit diff stats
path: root/target/i386/cpu-param.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-10-02 10:29:52 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2022-10-18 13:58:04 +0200
commit98281984a373a68a3c497dfb88e42195f3a1cc93 (patch)
treeab15581344bbef9e00d7314d98a0e21b56bee2ba /target/i386/cpu-param.h
parent9bbcf372193a2064743461aea5bf59cc83e37aa9 (diff)
downloadfocaccia-qemu-98281984a373a68a3c497dfb88e42195f3a1cc93.tar.gz
focaccia-qemu-98281984a373a68a3c497dfb88e42195f3a1cc93.zip
target/i386: Add MMU_PHYS_IDX and MMU_NESTED_IDX
These new mmu indexes will be helpful for improving
paging and code throughout the target.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221002172956.265735-6-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu-param.h')
-rw-r--r--target/i386/cpu-param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/cpu-param.h b/target/i386/cpu-param.h
index 1e79389761..f579b16bd2 100644
--- a/target/i386/cpu-param.h
+++ b/target/i386/cpu-param.h
@@ -23,7 +23,7 @@
 # define TARGET_VIRT_ADDR_SPACE_BITS  32
 #endif
 #define TARGET_PAGE_BITS 12
-#define NB_MMU_MODES 3
+#define NB_MMU_MODES 5
 
 #ifndef CONFIG_USER_ONLY
 # define TARGET_TB_PCREL 1