Skip to content

Commit

Permalink
AR: Comment itrigger limited to 32 ints if XLEN=32
Browse files Browse the repository at this point in the history
Resolves #904.
  • Loading branch information
timsifive committed Oct 18, 2023
1 parent 51f5a29 commit 606cffc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,13 @@
In addition the trigger can be enabled for non-maskable interrupts using
\FcsrItriggerNmi.

\begin{commentary}
If XLEN is 32, then it is not possible to set a trigger on every
standard interrupt, because the RISC-V Privileged Specification reserves
numbers 32 through 47 and some of those numbers are already being used
by the RISC-V Advanced Interrupt Architecture.
\end{commentary}

Hardware may only support a subset of interrupts for this trigger. A
debugger must read back \RcsrTdataTwo after writing it to confirm the
requested functionality is actually supported.
Expand Down

0 comments on commit 606cffc

Please sign in to comment.