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)
| number | 258 (0x102) |
|---|---|
| abi | riscv |
| entry point | sys_riscv_hwprobe |
| since | Linux 6.4 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 258, the syscall number |
a0 | struct riscv_hwprobe *pairs |
a1 | size_t pair_count |
a2 | size_t cpusetsize |
a3 | unsigned long *cpus |
a4 | unsigned int flags |
a0 | the return value |
Then run ecall to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/riscv_hwprobe