EDVIDSR
External Debug Virtual Context Sample Register
Contains sampled values captured on reading EDPCSR[31:0].
Configuration
EDVIDSR is in the Core power domain.
This register is present only when FEAT_PCSRv8 is implemented and FEAT_PCSRv8p2 is not implemented. Otherwise, direct accesses to EDVIDSR are RES0.
If FEAT_Debugv8p1 is implemented, the format of this register differs depending on the value of EDSCR.SC2.
Implemented only if the OPTIONAL PC Sample-based Profiling Extension is implemented in the external debug registers space.
When FEAT_PCSRv8 is implemented in the external debug registers space, if EL2 is not implemented and EL3 is not implemented, it is IMPLEMENTATION DEFINED whether EDVIDSR is implemented.
FEAT_PCSRv8p2 implements the FEAT_PCSRv8 in the Performance Monitors registers space.
Attributes
EDVIDSR is a 32-bit register.
Field descriptions
When FEAT_Debugv8p1 is not implemented or EDSCR.SC2 == '0':
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NS | E2 | E3 | HV | RES0 | VMID[15:8] | VMID | |||||||||||||||||||||||||
This format applies in all Armv8.0 implementations.
NS, bit [31]:
Non-secure state sample. Indicates the Security state associated with the most recent EDPCSR sample.
If EL3 is not implemented, this bit indicates the Effective value of SCR.NS.
| NS | Meaning |
|---|---|
| 0b0 |
Sample is from Secure state. |
| 0b1 |
Sample is from Non-secure state. |
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
E2, bit [30] when EL2 is implemented:
Exception level 2 status sample. Indicates whether the most recent EDPCSR sample was associated with EL2.
| E2 | Meaning |
|---|---|
| 0b0 |
Sample is not from EL2. |
| 0b1 |
Sample is from EL2. |
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
E3, bit [29] when EL3 is implemented and FEAT_AA64 is implemented:
Exception level 3 status sample. Indicates whether the most recent EDPCSR sample was associated with EL3 using AArch64.
| E3 | Meaning |
|---|---|
| 0b0 |
Sample is not from EL3 using AArch64. |
| 0b1 |
Sample is from EL3 using AArch64. |
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
HV, bit [28]:
EDPCSRhi (EDPCSR[63:32]) valid. Indicates whether bits [63:32] of the most recent EDPCSR sample might be nonzero:
| HV | Meaning |
|---|---|
| 0b0 |
Bits[63:32] of the most recent EDPCSR sample are zero. |
| 0b1 |
Bits[63:32] of the most recent EDPCSR sample might be nonzero. |
An EDVIDSR.HV value of 1 does not mean that the value of EDPCSRhi is nonzero. An EDVIDSR.HV value of 0 is a hint that EDPCSRhi (EDPCSR[63:32]) does not need to be read.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bits [27:16]:
Reserved, RES0.
VMID[15:8], bits [15:8] when FEAT_VMID16 is implemented and EL2 is implemented:
Extension to VMID[7:0]. For more information, see VMID[7:0].
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
VMID, bits [7:0] when EL2 is implemented:
VMID sample. The VMID associated with the most recent EDPCSRlo (EDPCSR[31:0]) sample. When the most recent EDPCSR sample was generated:
-
This field is RES0 if any of the following apply:
- The PE is executing in Secure state.
- The PE is executing at EL2.
-
Otherwise:
- If EL2 is using AArch64 and either FEAT_VMID16 is not implemented or VTCR_EL2.VS is 1, this field is set to VTTBR_EL2.VMID.
- If EL2 is using AArch64, FEAT_VMID16 is implemented, and VTCR_EL2.VS is 0, PMVIDSR.VMID[7:0] is set to VTTBR_EL2.VMID[7:0] and PMVIDSR.VMID[15:8] is RES0.
- If EL2 is using AArch32, this field is set to VTTBR.VMID.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
When EL2 is implemented, FEAT_Debugv8p1 is implemented, and EDSCR.SC2 == '1':
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTEXTIDR_EL2 | |||||||||||||||||||||||||||||||
CONTEXTIDR_EL2, bits [31:0]:
Context ID. The value of CONTEXTIDR_EL2 that is associated with the most recent EDPCSR sample. When the most recent EDPCSR sample is generated:
- If the PE is not executing at EL3, EL2 is using AArch64, and EL2 is enabled in the current Security state, then this field is set to the Context ID sampled from CONTEXTIDR_EL2.
- Otherwise, this field is set to an UNKNOWN value.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Accessing EDVIDSR
IMPLEMENTATION DEFINED extensions to external debug might make the value of this register UNKNOWN, see 'Permitted behavior that might make the PC Sample-based profiling registers UNKNOWN'.
EDVIDSR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| Debug | 0x0A8 | EDVIDSR |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.