mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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 <palmer@rivosinc.com> Signed-off-by: Robbin Ehn <rehn@rivosinc.com> Message-Id: <06a4543df2aa6101ca9a48f21a3198064b4f1f87.camel@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
c0716c81b2
commit
9e1c7d982d
3 changed files with 148 additions and 0 deletions
|
@ -251,6 +251,7 @@
|
|||
#define TARGET_NR_recvmmsg 243
|
||||
#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_wait4 260
|
||||
#define TARGET_NR_prlimit64 261
|
||||
#define TARGET_NR_fanotify_init 262
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue