syscall.sh / riscv64 / riscv_hwprobe

riscv_hwprobe

sys_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, size_t cpusetsize, unsigned long *cpus, unsigned int flags)
number258 (0x102)
abiriscv
entry pointsys_riscv_hwprobe
sinceLinux 6.4
sourceelixir.bootlin.com

Registers

registervalue
a7258, the syscall number
a0struct riscv_hwprobe *pairs
a1size_t pair_count
a2size_t cpusetsize
a3unsigned long *cpus
a4unsigned int flags
a0the return value

Then run ecall to enter the kernel.

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/riscv_hwprobe