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
committerGitHub <noreply@github.com>2024-04-23 21:58:59 -0700
commit48e96c042d9e39da6a17fca49d237eba44e132aa (patch)
tree5f8c82f308e37abb1aa0a08df8e28deb8ea305ed /pk/syscall.h
parent6b5c8dbb6f40eacbce5b698e957630e56ec30879 (diff)
downloadpk-48e96c042d9e39da6a17fca49d237eba44e132aa.zip
pk-48e96c042d9e39da6a17fca49d237eba44e132aa.tar.gz
pk-48e96c042d9e39da6a17fca49d237eba44e132aa.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