The ID_DFR0 characteristics are:
Provides top level information about the debug system in AArch32 state.
Must be interpreted with the Main ID Register, MIDR.
For general information about the interpretation of the ID registers see 'Principles of the ID scheme for fields in ID registers'.
AArch32 System register ID_DFR0 bits [31:0] are architecturally mapped to AArch64 System register ID_DFR0_EL1[31:0].
This register is present only when EL1 is capable of using AArch32. Otherwise, direct accesses to ID_DFR0 are UNDEFINED.
ID_DFR0 is a 32-bit register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TraceFilt | PerfMon | MProfDbg | MMapTrc | CopTrc | MMapDbg | CopSDbg | CopDbg |
Armv8.4 Self-hosted Trace Extension version.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TraceFilt | Meaning |
---|---|
0b0000 |
Armv8.4 Self-hosted Trace Extension not implemented. |
0b0001 |
Armv8.4 Self-hosted Trace Extension implemented. |
All other values are reserved.
FEAT_TRF implements the functionality added by the value 0b0001.
From Armv8.3, the permitted values are 0b0000 and 0b0001.
Access to this field is RO.
Performance Monitors Extension version.
This field does not follow the standard ID scheme, but uses the alternative ID scheme described in 'Alternative ID scheme used for the Performance Monitors Extension version'.
The value of this field is an IMPLEMENTATION DEFINED choice of:
PerfMon | Meaning |
---|---|
0b0000 |
Performance Monitors Extension not implemented. |
0b0001 |
Performance Monitors Extension, PMUv1 implemented. |
0b0010 |
Performance Monitors Extension, PMUv2 implemented. |
0b0011 |
Performance Monitors Extension, PMUv3 implemented. |
0b0100 | PMUv3 for Armv8.1. As 0b0011, and adds support for:
|
0b0101 |
PMUv3 for Armv8.4. As 0b0100, and adds support for the PMMIR register. |
0b0110 | PMUv3 for Armv8.5. As 0b0101, and adds support for: |
0b0111 | PMUv3 for Armv8.7. As 0b0110, and adds support for: |
0b1000 | PMUv3 for Armv8.8. As 0b0111, and:
|
0b1001 | PMUv3 for Armv8.9. As 0b1000, and:
|
0b1111 |
IMPLEMENTATION DEFINED form of performance monitors supported, PMUv3 not supported. Arm does not recommend this value for new implementations. |
All other values are reserved.
FEAT_PMUv3 implements the functionality identified by the value 0b0011.
FEAT_PMUv3p1 implements the functionality identified by the value 0b0100.
FEAT_PMUv3p4 implements the functionality identified by the value 0b0101.
FEAT_PMUv3p5 implements the functionality identified by the value 0b0110.
FEAT_PMUv3p7 implements the functionality identified by the value 0b0111.
FEAT_PMUv3p8 implements the functionality identified by the value 0b1000.
FEAT_PMUv3p9 implements the functionality identified by the value 0b1001.
In any Armv8 implementation, the values 0b0001 and 0b0010 are not permitted.
From Armv8.1, if FEAT_PMUv3 is implemented, the value 0b0011 is not permitted.
From Armv8.4, if FEAT_PMUv3 is implemented, the value 0b0100 is not permitted.
From Armv8.5, if FEAT_PMUv3 is implemented, the value 0b0101 is not permitted.
From Armv8.7, if FEAT_PMUv3 is implemented, the value 0b0110 is not permitted.
From Armv8.8, if FEAT_PMUv3 is implemented, the value 0b0111 is not permitted.
From Armv8.9, if FEAT_PMUv3 is implemented, the value 0b1000 is not permitted.
In Armv7, the value 0b0000 can mean that PMUv1 is implemented. PMUv1 and PMUv2 are not permitted in an Armv8 implementation.
Access to this field is RO.
M-profile Debug. Support for memory-mapped debug model for M-profile processors.
The value of this field is an IMPLEMENTATION DEFINED choice of:
MProfDbg | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for M-profile Debug architecture, with memory-mapped access. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
Access to this field is RO.
Memory-mapped Trace. Support for memory-mapped trace model.
The value of this field is an IMPLEMENTATION DEFINED choice of:
MMapTrc | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for Arm trace architecture, with memory-mapped access. |
All other values are reserved.
In Armv8-A, the permitted values are 0b0000 and 0b0001.
For more information, see the Arm® Embedded Trace Macrocell Architecture Specification, ETMv4 (ARM IHI 0064).
Access to this field is RO.
Support for System registers-based trace model, using registers in the coproc == 0b1110 encoding space.
The value of this field is an IMPLEMENTATION DEFINED choice of:
CopTrc | Meaning |
---|---|
0b0000 |
Not supported. |
0b0001 |
Support for Arm trace architecture, with System registers access. |
All other values are reserved.
In Armv8-A, the permitted values are 0b0000 and 0b0001.
For more information, see the Arm® Embedded Trace Macrocell Architecture Specification, ETMv4 (ARM IHI 0064).
Access to this field is RO.
Memory-mapped Debug. Support for Armv7 memory-mapped debug model for A and R-profile processors.
The value of this field is an IMPLEMENTATION DEFINED choice of:
MMapDbg | Meaning |
---|---|
0b0000 |
Not supported. |
0b0100 |
Support for Armv7, v7 Debug architecture, with memory-mapped access. |
0b0101 |
Support for Armv7, v7.1 Debug architecture, with memory-mapped access. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
The optional memory map defined by Armv8 is not compatible with Armv7.
Access to this field is RO.
Support for a System registers-based Secure debug model, using registers in the coproc = 0b1110 encoding space, for an A-profile processor that includes EL3.
If EL3 is not implemented and the implemented Security state is Non-secure state, this field is RES0. Otherwise, this field reads the same as bits [3:0].
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Debug architecture version. Indicates presence of Armv8 debug architecture.
The value of this field is an IMPLEMENTATION DEFINED choice of:
CopDbg | Meaning |
---|---|
0b0000 |
Not supported. |
0b0010 |
Armv6, v6 Debug architecture, with System registers access. |
0b0011 |
Armv6, v6.1 Debug architecture, with System registers access. |
0b0100 |
Armv7, v7 Debug architecture, with System registers access. |
0b0101 |
Armv7, v7.1 Debug architecture, with System registers access. |
0b0110 |
Armv8 debug architecture. |
0b0111 |
Armv8 debug architecture with Virtualization Host Extensions. |
0b1000 |
Armv8.2 debug architecture, FEAT_Debugv8p2. |
0b1001 |
Armv8.4 debug architecture, FEAT_Debugv8p4. |
0b1010 |
Armv8.8 debug architecture, FEAT_Debugv8p8. |
0b1011 |
Armv8.9 debug architecture, FEAT_Debugv8p9. |
All other values are reserved.
The values 0b0000, 0b0010, 0b0011, 0b0100, and 0b0101 are not permitted in Armv8.
FEAT_VHE implements the functionality identified by the value 0b0111.
FEAT_Debugv8p2 implements the functionality identified by the value 0b1000.
FEAT_Debugv8p4 implements the functionality identified by the value 0b1001.
FEAT_Debugv8p8 implements the functionality identified by the value 0b1010.
FEAT_Debugv8p9 implements the functionality identified by the value 0b1011.
From Armv8.1, when FEAT_VHE is implemented the value 0b0110 is not permitted.
From Armv8.2, the values 0b0110 and 0b0111 are not permitted.
From Armv8.4, the value 0b1000 is not permitted.
From Armv8.8, the value 0b1001 is not permitted.
From Armv8.9, the value 0b1010 is not permitted.
Access to this field is RO.
Accesses to this register use the following encodings in the System register encoding space:
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b000 | 0b0000 | 0b0001 | 0b010 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T0 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T0 == '1' then AArch32.TakeHypTrapException(0x03); elsif EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.TID3 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HCR.TID3 == '1' then AArch32.TakeHypTrapException(0x03); else R[t] = ID_DFR0; elsif PSTATE.EL == EL2 then R[t] = ID_DFR0; elsif PSTATE.EL == EL3 then R[t] = ID_DFR0;
26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.