syscall.sh / riscv64 / mincore

mincore

determine whether pages are resident in memory

sys_mincore(unsigned long start, size_t len, unsigned char *vec)
number232 (0xe8)
abicommon
entry pointsys_mincore
sinceLinux 4.15
man pagemincore(2)
sourceelixir.bootlin.com

Registers

registervalue
a7232, the syscall number
a0unsigned long start
a1size_t len
a2unsigned char *vec
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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