syscall.sh / sh / mincore

mincore

determine whether pages are resident in memory

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

Registers

registervalue
r3218, the syscall number
r4unsigned long start
r5size_t len
r6unsigned char *vec
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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