@@ -137,9 +137,8 @@ The <<dpc>> register is extended to hold a capability.
137137.Debug program counter capability
138138include::img/dpccreg.edn[]
139139
140- Upon entry to debug mode, the _RISC-V Debug Specification_, does not specify how to
141- When the hart is in debug mode, the _RISC-V Debug Specification_ does not specify
142- how the PC is updated, and says that PC-relative instructions may be illegal. This concept
140+ When the hart is in debug mode, the _RISC-V Debug Specification_ does not specify
141+ how the PC is updated, and says that PC-relative instructions may be illegal. This concept
143142is extended to include any instruction which reads or updates <<pcc>>, which refers to
144143all jumps, conditional branches and <<AUIPC_CHERI>>. The exceptions are <<MODESW_CAP>> and <<MODESW_INT>>,
145144which _are_ supported if {cheri_default_ext_name} is implemented, see <<drootc>>
@@ -150,8 +149,6 @@ to this specification. The <<pcc>> metadata has no architectural effect in debug
150149mode. Therefore <<asr_perm>> is implicitly granted for access to all CSRs for
151150instruction execution.
152151
153- On debug mode entry, <<dpc_y>> is updated with the
154- capability in <<pcc>> whose address field is set to the address of the next
155152On debug mode entry, <<dpc_y>> is updated with the
156153capability in <<pcc>>, whose address field equals to the address of the next
157154instruction to be executed upon debug mode exit as described in the _RISC-V Debug Specification_.
0 commit comments