From f8cc0d73afe12cc1c8dd1600a28ff4634decf617 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sun, 8 Nov 2026 07:38:17 -0600 Subject: Add Smrnmi --- doc/_start_here.txt | 1 + doc/csr.txt | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/_start_here.txt b/doc/_start_here.txt index b9dc6d0..bf83857 100644 --- a/doc/_start_here.txt +++ b/doc/_start_here.txt @@ -89,6 +89,7 @@ RVController is intended to be compliant with the following specifications: - Note: Defined in the Hazard3 reference manual, available at https://github.com/Wren6991/Hazard3/releases/download/v1.1/hazard3.pdf * Machine-Level ISA, Version 1.13 * "Smcntrpmf" Cycle and Instret Privilege Mode Filtering, Version 1.0 +* "Smrnmi" Extension for Resumable Non-Maskable Interrupts, Version 1.0 * "Smdbltrp" Double Trap Extension, Version 1.0 For full specification text, visit https://docs.riscv.org/reference/home/index.html diff --git a/doc/csr.txt b/doc/csr.txt index 2e88f67..cb129b2 100644 --- a/doc/csr.txt +++ b/doc/csr.txt @@ -21,6 +21,10 @@ The following standard CSRs are available: * 0x34b: mtval2 * 0x721: mcyclecfgh * 0x722: minstretcfgh +* 0x740: mnscratch +* 0x741: mnepc +* 0x742: mncause +* 0x744: mnstatus * 0x747: mseccfg * 0xb00: mcycle * 0xb02: minstret @@ -76,6 +80,10 @@ the Address field selects the base address of the 256-byte MMIO region. When set to 0x00000000, MMIO is disabled. See mmio.txt for MMIO region contents. +0xbc0 - mnvec (RNMI Handler Address) + +Contains the address of the RNMI handler (see Smrnmi extension). Default is 0x8000. + 0xbf1 - h3.misa Stores enhanced ISA identification information, see the Hazard3 reference manual for more information: https://wren.wtf/hazard3/doc/#reg-h3.misa -- cgit v1.2.3