aboutsummaryrefslogtreecommitdiff
path: root/machine/mcall.h
diff options
context:
space:
mode:
authorHoward Mao <zhehao.mao@gmail.com>2017-05-23 15:44:27 -0700
committerHoward Mao <zhehao.mao@gmail.com>2017-05-23 15:44:27 -0700
commit1768ef5096cca41963367b7b4e50b4e47c2639fa (patch)
treefac42988325fb60b7e3e6bdb02cd0b40214f259a /machine/mcall.h
parent66701f82f88d08d3700d8b0bc5d5306abfd0044f (diff)
downloadriscv-pk-1768ef5096cca41963367b7b4e50b4e47c2639fa.zip
riscv-pk-1768ef5096cca41963367b7b4e50b4e47c2639fa.tar.gz
riscv-pk-1768ef5096cca41963367b7b4e50b4e47c2639fa.tar.bz2
add sbi-disk mcall routinessbi-disk
Diffstat (limited to 'machine/mcall.h')
-rw-r--r--machine/mcall.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/machine/mcall.h b/machine/mcall.h
index 6a2c037..8469be3 100644
--- a/machine/mcall.h
+++ b/machine/mcall.h
@@ -10,5 +10,8 @@
#define SBI_REMOTE_SFENCE_VMA 6
#define SBI_REMOTE_SFENCE_VMA_ASID 7
#define SBI_SHUTDOWN 8
+#define SBI_DISK_READ 9
+#define SBI_DISK_WRITE 10
+#define SBI_DISK_SIZE 11
#endif