From 9e1c7d982d7feb5b6547276ecc4c10468c0f5092 Mon Sep 17 00:00:00 2001 From: Robbin Ehn Date: Mon, 19 Jun 2023 10:24:03 +0200 Subject: linux-user/riscv: Add syscall riscv_hwprobe This patch adds the new syscall for the "RISC-V Hardware Probing Interface" (https://docs.kernel.org/riscv/hwprobe.html). Reviewed-by: Palmer Dabbelt Signed-off-by: Robbin Ehn Message-Id: <06a4543df2aa6101ca9a48f21a3198064b4f1f87.camel@rivosinc.com> Signed-off-by: Alistair Francis --- linux-user/riscv/syscall32_nr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-user/riscv/syscall32_nr.h') diff --git a/linux-user/riscv/syscall32_nr.h b/linux-user/riscv/syscall32_nr.h index 1327d7d..412e58e 100644 --- a/linux-user/riscv/syscall32_nr.h +++ b/linux-user/riscv/syscall32_nr.h @@ -228,6 +228,7 @@ #define TARGET_NR_accept4 242 #define TARGET_NR_arch_specific_syscall 244 #define TARGET_NR_riscv_flush_icache (TARGET_NR_arch_specific_syscall + 15) +#define TARGET_NR_riscv_hwprobe (TARGET_NR_arch_specific_syscall + 14) #define TARGET_NR_prlimit64 261 #define TARGET_NR_fanotify_init 262 #define TARGET_NR_fanotify_mark 263 -- cgit v1.1