syscall.sh / openrisc / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number228 (0xe4)
abicommon
entry pointsys_mlock
sinceLinux 3.7
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
r11228, the syscall number
r3unsigned long start
r4size_t len
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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