mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 14:45:48 +00:00
target/arm: Enable BTI for -cpu max
Backports commit a15daafa1cba96ff28abdfb6c860e0939655dbd1 from qemu
This commit is contained in:
parent
4dc5f80683
commit
fbd8992e27
|
@ -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);
|
t = FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1);
|
||||||
cpu->isar.id_aa64pfr0 = t;
|
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 = cpu->isar.id_aa64mmfr1;
|
||||||
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
|
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
|
||||||
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);
|
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);
|
||||||
|
|
Loading…
Reference in a new issue