summaryrefslogtreecommitdiff
path: root/doc/csr.txt
diff options
context:
space:
mode:
authorcheapie <cheapiephp@gmail.com>2026-11-08 07:38:17 -0600
committercheapie <cheapiephp@gmail.com>2026-11-08 07:38:17 -0600
commitf8cc0d73afe12cc1c8dd1600a28ff4634decf617 (patch)
tree035cc4c5b466c98fb2940c48af79389d43ab4994 /doc/csr.txt
parent71729845170cdb4380f1ae42708638fdaee997cb (diff)
downloadrvcontroller-f8cc0d73afe12cc1c8dd1600a28ff4634decf617.tar
rvcontroller-f8cc0d73afe12cc1c8dd1600a28ff4634decf617.tar.gz
rvcontroller-f8cc0d73afe12cc1c8dd1600a28ff4634decf617.tar.bz2
rvcontroller-f8cc0d73afe12cc1c8dd1600a28ff4634decf617.tar.xz
rvcontroller-f8cc0d73afe12cc1c8dd1600a28ff4634decf617.zip
Add Smrnmi
Diffstat (limited to 'doc/csr.txt')
-rw-r--r--doc/csr.txt8
1 files changed, 8 insertions, 0 deletions
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