mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 16:05:47 +00:00
target/arm: Set ID_PFR0.DIT to 1 for max 32-bit CPU
Enable FEAT_DIT for the "max" 32-bit CPU. Backports 5385320c2b3183f2e18dbc55c23ecba9272500c2
This commit is contained in:
parent
66d96057a4
commit
93b0428f48
|
@ -2019,6 +2019,10 @@ static void arm_max_initfn(struct uc_struct *uc, Object *obj, void *opaque)
|
||||||
t = FIELD_DP32(t, ID_MMFR4, CNP, 1); /* TTCNP */
|
t = FIELD_DP32(t, ID_MMFR4, CNP, 1); /* TTCNP */
|
||||||
t = FIELD_DP32(t, ID_MMFR4, XNX, 1); /* TTS2UXN */
|
t = FIELD_DP32(t, ID_MMFR4, XNX, 1); /* TTS2UXN */
|
||||||
cpu->isar.id_mmfr4 = t;
|
cpu->isar.id_mmfr4 = t;
|
||||||
|
|
||||||
|
t = cpu->isar.id_pfr0;
|
||||||
|
t = FIELD_DP32(t, ID_PFR0, DIT, 1);
|
||||||
|
cpu->isar.id_pfr0 = t;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue