mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target/arm: Implement ID_DFR1
In Armv8.6, a new AArch32 ID register ID_DFR1 is defined; implement it. We don't have any CPUs with features that they need to advertise here yet, but plumbing in the ID register gives it the right name when debugging and will help in future when we do add a CPU that has non-zero ID_DFR1 fields. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220819110052.2942289-5-peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
32957aad8c
commit
d22c564958
3 changed files with 5 additions and 2 deletions
|
@ -643,6 +643,8 @@ bool kvm_arm_get_host_cpu_features(ARMHostCPUFeatures *ahcf)
|
|||
ARM64_SYS_REG(3, 0, 0, 3, 2));
|
||||
err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_pfr2,
|
||||
ARM64_SYS_REG(3, 0, 0, 3, 4));
|
||||
err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_dfr1,
|
||||
ARM64_SYS_REG(3, 0, 0, 3, 5));
|
||||
err |= read_sys_reg32(fdarray[2], &ahcf->isar.id_mmfr5,
|
||||
ARM64_SYS_REG(3, 0, 0, 3, 6));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue