Skip to content

Commit

Permalink
Merge pull request #936 from riscv/references
Browse files Browse the repository at this point in the history
Clean up remaining LaTeX register/field macros.
  • Loading branch information
wmat authored Dec 22, 2023
2 parents 65623a7 + acadd27 commit 49d1c04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion debugger_implementation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ tricky to get right. To single step, the debug stub would execute
something like:

....
li t0, \FcsrIcountCount=4, \FcsrIcountAction=0, \FcsrIcountM=1
li t0, {icount-count}=4, {icount-action}=0, {icount-m}=1
csrw tdata1, t0 /* Write the trigger. */
lw t0, 8(sp) /* Restore t0, count decrements to 3 */
lw sp, 0(sp) /* Restore sp, count decrements to 2 */
Expand Down
4 changes: 2 additions & 2 deletions dm_registers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,8 @@ with 48 harts only bit 0 of this field may actually be writable. |WARL
the hart array mask register (see
Section link:#hartarraymask[[hartarraymask]]). The position of the
window is determined by . I.e. bit 0 refers to hart
latexmath:[$\RdmHawindowsel * 32$], while bit 31 refers to hart
latexmath:[$\RdmHawindowsel * 32 + 31$].
latexmath:[${dm-hawindowsel} * 32$], while bit 31 refers to hart
latexmath:[${dm-hawindowsel} * 32 + 31$].

Since some bits in the hart array mask register may be constant 0, some
bits in this register may be constant 0, depending on the current value
Expand Down
6 changes: 3 additions & 3 deletions riscv-debug-spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,8 @@ may actually be writable. & WARL & 0 +
[#dmHawindow]## This register provides R/W access to a 32-bit portion of
the hart array mask register (see Section link:#hartarraymask[4.3.2]).
The position of the window is determined by . I.e. bit 0 refers to hart
latexmath:[$\RdmHawindowsel * 32$], while bit 31 refers to hart
latexmath:[$\RdmHawindowsel * 32 + 31$].
latexmath:[${dm-hawindowsel} * 32$], while bit 31 refers to hart
latexmath:[${dm-hawindowsel} * 32 + 31$].

Since some bits in the hart array mask register may be constant 0, some
bits in this register may be constant 0, depending on the current value
Expand Down Expand Up @@ -3765,7 +3765,7 @@ tricky to get right. To single step, the debug stub would execute
something like:

....
li t0, \FcsrIcountCount=4, \FcsrIcountAction=0, \FcsrIcountM=1
li t0, {icount-count}=4, {icount-action}=0, {icount-m}=1
csrw tdata1, t0 /* Write the trigger. */
lw t0, 8(sp) /* Restore t0, count decrements to 3 */
lw sp, 0(sp) /* Restore sp, count decrements to 2 */
Expand Down

0 comments on commit 49d1c04

Please sign in to comment.