aboutsummaryrefslogtreecommitdiff
path: root/constants.py
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-03-16 15:06:42 -0700
committerAndrew Waterman <andrew@sifive.com>2023-03-16 15:06:42 -0700
commitda605c83908325289f841486968f6e37fc0f5449 (patch)
tree400c0ad727254103ed63188d653a2e0ab0e1094c /constants.py
parented68c21b025ced3e09bc6ad753947ec8248f89ec (diff)
downloadriscv-opcodes-da605c83908325289f841486968f6e37fc0f5449.zip
riscv-opcodes-da605c83908325289f841486968f6e37fc0f5449.tar.gz
riscv-opcodes-da605c83908325289f841486968f6e37fc0f5449.tar.bz2
Add Snrmni CSR and field definitions
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index b211c48..1594677 100644
--- a/constants.py
+++ b/constants.py
@@ -468,6 +468,10 @@ csrs32 = [
(0x73D, 'mhpmevent29h'), # Sscofpmf
(0x73E, 'mhpmevent30h'), # Sscofpmf
(0x73F, 'mhpmevent31h'), # Sscofpmf
+ (0x740, 'mnscratch'), # Smrnmi
+ (0x741, 'mnepc'), # Smrnmi
+ (0x742, 'mncause'), # Smrnmi
+ (0x744, 'mnstatus'), # Smrnmi
(0x757, 'mseccfgh'),
(0xB80, 'mcycleh'),
(0xB82, 'minstreth'),