syscall.sh / mipsn32 / mmap

mmap

map or unmap files or devices into memory

sys_mips_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t offset)
number6009 (0x1779)
abin32
entry pointsys_mips_mmap
sinceLinux 5.0
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
v06009, the syscall number
a0unsigned long addr
a1unsigned long len
a2unsigned long prot
a3unsigned long flags
a4unsigned long fd
a5off_t offset
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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