target/arm: Enable BTI for -cpu max

Backports commit a15daafa1cba96ff28abdfb6c860e0939655dbd1 from qemu
This commit is contained in:
Richard Henderson 2019-02-05 17:15:28 -05:00 committed by Lioncash
parent 4dc5f80683
commit fbd8992e27
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -269,6 +269,10 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
t = FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1);
cpu->isar.id_aa64pfr0 = t;
t = cpu->isar.id_aa64pfr1;
t = FIELD_DP64(t, ID_AA64PFR1, BT, 1);
cpu->isar.id_aa64pfr1 = t;
t = cpu->isar.id_aa64mmfr1;
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);