cpu_ldst.h: Allow NB_MMU_MODES to be 7
commit8f3ae2ae2d02727f6d56610c09d7535e43650dd4
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Feb 2015 13:37:23 +0000 (5 13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Feb 2015 13:37:23 +0000 (5 13:37 +0000)
treeec81775c6d32cbafb08cb564373dbca3a292da48
parent587078f0ed6371f83a54228faed70867d3137954
cpu_ldst.h: Allow NB_MMU_MODES to be 7

Support guest CPUs which need 7 MMU index values.
Add a comment about what would be required to raise the limit
further (trivial for 8, TCG backend rework for 9 or more).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
include/exec/cpu_ldst.h