Skip to content

Commit

Permalink
In Sdtrig, XLEN refers to the current mode.
Browse files Browse the repository at this point in the history
Not just M-Mode and D-Mode.
  • Loading branch information
rtwfroody committed Apr 23, 2024
1 parent 8d4dad8 commit ab9b09b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ same project unless stated otherwise.
and Debug Mode to prevent untrusted user code from causing entry into Debug
Mode without the OS's permission.

In this section XLEN means MXLEN when in M-mode, and DXLEN when in Debug
Mode. On systems where those values of XLEN can differ, this is handled
In this section XLEN refers to the effective XLEN in the current execution
mode. On systems where XLEN values can differ between modes, this is handled
as follows.
Fields retain their values regardless of XLEN, which only affects where
in the register these fields appear (e.g. {tdata1-type}). Some fields
Expand Down

0 comments on commit ab9b09b

Please sign in to comment.