File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33$schema : inst_schema.json#
44kind : instruction
55name : mnret
6- long_name : Machine NMI Return
6+ long_name : Machine mode resume from the RNMI or Double Trap handler.
77description : |
8- Returns from an NMI in M-mode.
8+ MNRET is an M-mode-only instruction that uses the values in mnepc and mnstatus to return to the
9+ program counter, privilege mode, and virtualization mode of the interrupted context. This instruction
10+ also sets mnstatus.NMIE. If MNRET changes the privilege mode to a mode less privileged than M, it
11+ also sets mstatus.MPRV to 0. If the Zicfilp extension is implemented, then if the new privileged mode is
12+ y, MNRET sets ELP to the logical AND of yLPE (see Section 22.1.1) and mnstatus.MNPELP.
913definedBy : Smrnmi
1014assembly : mnret
1115encoding :
You can’t perform that action at this time.
0 commit comments