On 11/9/20 6:10 AM, remi.denis.courm...@huawei.com wrote: > From: Rémi Denis-Courmont <remi.denis.courm...@huawei.com> > > This adds the MMU indices for EL2 stage 1 in secure mode. > > To keep code contained, which is largelly identical between secure and > non-secure modes, the MMU indices are reassigned. The new assignments > provide a systematic pattern with a non-secure bit. > > Signed-off-by: Rémi Denis-Courmont <remi.denis.courm...@huawei.com> > --- > target/arm/cpu-param.h | 2 +- > target/arm/cpu.h | 37 +++++++---- > target/arm/helper.c | 127 ++++++++++++++++++++++++------------- > target/arm/internals.h | 12 ++++ > target/arm/translate-a64.c | 4 ++ > 5 files changed, 124 insertions(+), 58 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~