aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.h
diff options
context:
space:
mode:
authorWojciech Muła <wojciech_mula@poczta.onet.pl>2024-04-24 06:58:59 +0200
committerAndrew Waterman <andrew@sifive.com>2024-05-20 18:37:48 -0700
commitab24ff26666e14b3b6c4a8c8bb2c209d2587bb3e (patch)
tree98780651ffcc8ea390e77bce5869983f31be5ab4 /pk/syscall.h
parent86ed1b3b062bc81c2f42d6676a71cfba52880915 (diff)
downloadriscv-pk-ab24ff26666e14b3b6c4a8c8bb2c209d2587bb3e.zip
riscv-pk-ab24ff26666e14b3b6c4a8c8bb2c209d2587bb3e.tar.gz
riscv-pk-ab24ff26666e14b3b6c4a8c8bb2c209d2587bb3e.tar.bz2
Implementation of riscv_hwprobe syscall from Linux (#325)
See: https://www.kernel.org/doc/html/latest/arch/riscv/hwprobe.html
Diffstat (limited to 'pk/syscall.h')
-rw-r--r--pk/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/syscall.h b/pk/syscall.h
index 6731edd..2d430fa 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -59,6 +59,7 @@
#define SYS_madvise 233
#define SYS_statx 291
#define SYS_readv 65
+#define SYS_riscv_hwprobe 258
#define OLD_SYSCALL_THRESHOLD 1024
#define SYS_open 1024