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 Mar 11, 2024
1 parent dd76665 commit d18307a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions xml/hwbp_registers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ 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
as follows.
In this section XLEN refers to the effective XLEN in the current execution
mode. This is DXLEN when in Debug Mode.
On systems where those values of XLEN can differ, 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
are wider when XLEN is 64 than when it is 32 (e.g.
Expand Down

0 comments on commit d18307a

Please sign in to comment.