target/arm: Read debug-related ID registers from KVM

Backports 1548a7b2ad621a31b4216ed703b6d658a2ecf0d0 from qemu
This commit is contained in:
Peter Maydell 2020-03-21 18:30:17 -04:00 committed by Lioncash
parent cef6f3e72c
commit 7dfc30b754

View file

@ -820,6 +820,11 @@ struct ARMCPU {
* prefix means a constant register.
* Some of these registers are split out into a substructure that
* is shared with the translators to control the ISA.
*
* Note that if you add an ID register to the ARMISARegisters struct
* you need to also update the 32-bit and 64-bit versions of the
* kvm_arm_get_host_cpu_features() function to correctly populate the
* field by reading the value from the KVM vCPU.
*/
struct ARMISARegisters {
uint32_t id_isar0;