madvise on riscv64

give advice about use of memory

sys_madvise(unsigned long start, size_t len, int behavior)
number233 (0xe9)
abicommon
kconfigCONFIG_ADVISE_SYSCALLS
entry pointsys_madvise
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pagemadvise(2)
sourceelixir.bootlin.com

Registers

registervalue
a7233, the syscall number
a0unsigned long start
a1size_t len
a2int behavior
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/madvise