Skip to content

Commit 15de3fe

Browse files
authored
Clarify that the NMIs referred to in the RNMI spec are RNMIs (riscv#1869)
(As opposed to UNMIs.) Now, all references to "NMI" in this chapter are fully qualified. Fixes riscv#1107
1 parent 41e1a85 commit 15de3fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/rnmi.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ non-maskable interrupt (RNMI).
3939
include::images/bytefield/mnscratch.edn[]
4040

4141
The `mnscratch` CSR holds an MXLEN-bit read-write register which enables
42-
the NMI trap handler to save and restore the context that was
42+
the RNMI trap handler to save and restore the context that was
4343
interrupted.
4444

4545
.Resumable NMI program counter `mnepc`.
4646
include::images/bytefield/mnepc.edn[]
4747

4848
The `mnepc` CSR is an MXLEN-bit read-write register which on entry to
49-
the NMI trap handler holds the PC of the instruction that took the
49+
the RNMI trap handler holds the PC of the instruction that took the
5050
interrupt.
5151

5252
The low bit of `mnepc` (`mnepc[0]`) is always zero. On implementations
@@ -68,10 +68,10 @@ of holding.
6868
.Resumable NMI cause `mncause`.
6969
include::images/bytefield/mncause.edn[]
7070

71-
The `mncause` CSR holds the reason for the NMI.
72-
If the reason is an interrupt, bit MXLEN-1 is set to 1, and the NMI
71+
The `mncause` CSR holds the reason for the RNMI.
72+
If the reason is an interrupt, bit MXLEN-1 is set to 1, and the RNMI
7373
cause is encoded in the least-significant bits.
74-
If the reason is an interrupt and NMI causes are not supported, bit MXLEN-1 is
74+
If the reason is an interrupt and RNMI causes are not supported, bit MXLEN-1 is
7575
set to 1, and zero is written to the least-significant bits.
7676
If the reason is an exception within M-mode that results in a double trap as
7777
specified in the Smdbltrp extension, bit MXLEN-1 is set to 0 and the

0 commit comments

Comments
 (0)