Skip to content

Commit 01d2935

Browse files
committed
AR: Comment etrigger limited to 32 exceptions if XLEN=32
Addresses #905, which reports that in 1.13 higher exception codes will be used.
1 parent 51f5a29 commit 01d2935

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

xml/hwbp_registers.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,13 @@
12221222
(E.g.\ to trap on an illegal instruction, the debugger sets bit 2 in
12231223
\RcsrTdataTwo.)
12241224

1225+
\begin{commentary}
1226+
If XLEN is 32, then it is not possible to set a trigger on Exception
1227+
Codes higher than 31. A future version of the RISC-V Privileged Spec
1228+
will likely define Exception Codes 32 through 47.
1229+
<!-- Source: https://github.com/riscv/riscv-debug-spec/issues/905#issue-1950231166 -->
1230+
\end{commentary}
1231+
12251232
Hardware may support only a subset of exceptions. A debugger must read
12261233
back \RcsrTdataTwo after writing it to confirm the requested functionality
12271234
is actually supported.

0 commit comments

Comments
 (0)