syscall.sh / sparc64 / mmap

mmap

map or unmap files or devices into memory

sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off)
number71 (0x47)
abicommon
entry pointsys_mmap
sinceLinux 5.0
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
g171, the syscall number
o0unsigned long addr
o1unsigned long len
o2unsigned long prot
o3unsigned long flags
o4unsigned long fd
o5unsigned long off
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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