syscall.sh / parisc / mmap2

mmap2

map files or devices into memory

sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff)
number89 (0x59)
abicommon
entry pointsys_mmap2
sinceLinux 5.0
man pagemmap2(2)
sourceelixir.bootlin.com

Registers

registervalue
r2089, the syscall number
r26unsigned long addr
r25unsigned long len
r24unsigned long prot
r23unsigned long flags
r22unsigned long fd
r21unsigned long pgoff
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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