linux-user/riscv: Add syscall riscv_hwprobe
commit9e1c7d982d7feb5b6547276ecc4c10468c0f5092
authorRobbin Ehn <rehn@rivosinc.com>
Mon, 19 Jun 2023 08:24:03 +0000 (19 10:24 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 10 Jul 2023 12:29:15 +0000 (10 22:29 +1000)
tree4671a7784b14edba366f73da3212124038e2a111
parentc0716c81b2e436eb69975f1890dd2ae46bce5369
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>
linux-user/riscv/syscall32_nr.h
linux-user/riscv/syscall64_nr.h
linux-user/syscall.c