mirror of https://gitee.com/openkylin/qemu.git
target/arm: enable Small Translation tables in max CPU
Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
c36c65ea3c
commit
078e9fe3cb
|
@ -669,6 +669,7 @@ static void aarch64_max_initfn(Object *obj)
|
||||||
t = cpu->isar.id_aa64mmfr2;
|
t = cpu->isar.id_aa64mmfr2;
|
||||||
t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
|
t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1);
|
||||||
t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* TTCNP */
|
t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* TTCNP */
|
||||||
|
t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* TTST */
|
||||||
cpu->isar.id_aa64mmfr2 = t;
|
cpu->isar.id_aa64mmfr2 = t;
|
||||||
|
|
||||||
/* Replicate the same data to the 32-bit id registers. */
|
/* Replicate the same data to the 32-bit id registers. */
|
||||||
|
|
Loading…
Reference in New Issue