Skip to content

Commit

Permalink
Update machine.adoc (#1864)
Browse files Browse the repository at this point in the history
Added a statement to clarify the behavior of mstatus.SIE and mstatus.SPIE when supervisor mode is not supported. This makes the section consistent with SPP being read-only zero when supervisor mode is not supported.

If this statement is not the intended behavior, it would be helpful to add text such as "If supervisor mode is not implemented, SIE and SPIE may be writable but have no effect on system behavior."

Signed-off-by: David Harris <[email protected]>
  • Loading branch information
davidharrishmc authored Feb 18, 2025
1 parent 7659c1b commit 4841860
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/machine.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ setting of the global __y__IE bit for the higher-privilege mode.
Higher-privilege-level code can use separate per-interrupt enable bits
to disable selected higher-privilege-mode interrupts before ceding
control to a lower-privilege mode.
If supervisor mode is not implemented, then SIE and SPIE are read-only 0.

[NOTE]
====
Expand Down

0 comments on commit 4841860

Please sign in to comment.