Skip to content

Commit

Permalink
Fix scountovf exception behavior in smcdeleg.adoc (#1612)
Browse files Browse the repository at this point in the history
Fix bug, only get VIE on VS-mode reads, not VS-mode writes (which get IIE)

Signed-off-by: Beeman Strong <97133824+bcstrongx@users.noreply.github.com>
  • Loading branch information
bcstrongx authored Aug 23, 2024
1 parent 04179ad commit a43be61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smcdeleg.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ raise a virtual instruction exception.
=== Virtualizing `scountovf`

For implementations that support Smcdeleg/Ssccfg, Sscofpmf, and the H
extension, when `menvcfg`.CDE=1, attempts to access `scountovf` from VS-mode
extension, when `menvcfg`.CDE=1, attempts to read `scountovf` from VS-mode
or VU-mode raise a virtual instruction exception.

=== Virtualizing Local Counter Overflow Interrupts
Expand Down

0 comments on commit a43be61

Please sign in to comment.