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-10-04 13:29:16 -0700
commit4c64d29a8b1c5aecc8a08782b7ad39c6d2fb3387 (patch)
tree09af529e13af183d0449811a63b7865be42778cc /machine/mcall.h
parentfb4e31229fb072297dad9fcdf2c67b053c5d0322 (diff)
downloadriscv-pk-new-sbi-disk.zip
riscv-pk-new-sbi-disk.tar.gz
riscv-pk-new-sbi-disk.tar.bz2
add sbi-disk mcall routinesnew-sbi-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