mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 06:41:03 +00:00
target/arm: Enable ARMv8.1-VHE in -cpu max
Backports commit cd3f80aba0c559a6291f7c3e686422b15381f6b7 from qemu
This commit is contained in:
parent
36407da586
commit
ad5a3b2532
|
@ -316,6 +316,7 @@ static void aarch64_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
|
|||
t = cpu->isar.id_aa64mmfr1;
|
||||
t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */
|
||||
t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1);
|
||||
t = FIELD_DP64(t, ID_AA64MMFR1, VH, 1);
|
||||
cpu->isar.id_aa64mmfr1 = t;
|
||||
|
||||
/* Replicate the same data to the 32-bit id registers. */
|
||||
|
|
Loading…
Reference in a new issue