aboutsummaryrefslogtreecommitdiff
path: root/rv_system
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-04-08 18:04:04 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-04-08 20:11:59 +0530
commit2a7be7ea181304f99e90a0180e026761501fa5ac (patch)
tree6e457d908b1d76adede177350d5018dac59802f9 /rv_system
parentcf2bef3f0e52f95f9dfc9ce4ac8ff8ced92a26ac (diff)
downloadriscv-opcodes-2a7be7ea181304f99e90a0180e026761501fa5ac.zip
riscv-opcodes-2a7be7ea181304f99e90a0180e026761501fa5ac.tar.gz
riscv-opcodes-2a7be7ea181304f99e90a0180e026761501fa5ac.tar.bz2
migrate system opcodes
Diffstat (limited to 'rv_system')
-rw-r--r--rv_system5
1 files changed, 5 insertions, 0 deletions
diff --git a/rv_system b/rv_system
new file mode 100644
index 0000000..f94c4cf
--- /dev/null
+++ b/rv_system
@@ -0,0 +1,5 @@
+# SYSTEM
+mret 11..7=0 19..15=0 31..20=0x302 14..12=0 6..2=0x1C 1..0=3
+dret 11..7=0 19..15=0 31..20=0x7b2 14..12=0 6..2=0x1C 1..0=3
+wfi 11..7=0 19..15=0 31..20=0x105 14..12=0 6..2=0x1C 1..0=3
+