Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Commit 8dbac1f

Browse files
authored
Clarify Sstvala for breakpoint exceptions (#219)
1 parent 4073b22 commit 8dbac1f

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/profiles.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,8 +631,8 @@ NOTE: This is a new extension name for this feature.
631631

632632
- *Sstvala* `stval` must be written with the faulting virtual address for load,
633633
store, and instruction page-fault, access-fault, and misaligned
634-
exceptions, and for breakpoint exceptions other than those caused by
635-
execution of the `ebreak` or `c.ebreak` instructions. For
634+
exceptions, and for breakpoint exceptions that are defined to write an address to stval,
635+
other than those caused by execution of the `EBREAK` or `C.EBREAK` instructions. For
636636
virtual-instruction and illegal-instruction exceptions, `stval` must be written with the
637637
faulting instruction.
638638

src/rva23-profile.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ The following privileged extensions were also mandatory in RVA22S64:
259259

260260
- *Sstvala* `stval` must be written with the faulting virtual address
261261
for load, store, and instruction page-fault, access-fault, and
262-
misaligned exceptions, and for breakpoint exceptions other than
263-
those caused by execution of the `EBREAK` or `C.EBREAK` instructions.
262+
misaligned exceptions, and for breakpoint exceptions that are defined to write
263+
an address to stval, other than those caused by execution of the `EBREAK` or
264+
`C.EBREAK` instructions.
264265
For virtual-instruction and illegal-instruction exceptions, `stval` must be written with the
265266
faulting instruction.
266267

src/rvb23-profile.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,9 @@ in RVB.
272272

273273
- *Sstvala* `stval` must be written with the faulting virtual address
274274
for load, store, and instruction page-fault, access-fault, and
275-
misaligned exceptions, and for breakpoint exceptions other than
276-
those caused by execution of the `EBREAK` or `C.EBREAK` instructions.
275+
misaligned exceptions, and for breakpoint exceptions that are defined to write
276+
an address to stval, other than those caused by execution of the `EBREAK` or
277+
`C.EBREAK` instructions.
277278
For virtual-instruction and illegal-instruction exceptions, `stval` must be written with the
278279
faulting instruction.
279280

0 commit comments

Comments
 (0)