syscall.sh / parisc / 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)
number90 (0x5a)
abicommon
entry pointsys_mmap
sinceLinux 5.0
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
r2090, the syscall number
r26unsigned long addr
r25unsigned long len
r24unsigned long prot
r23unsigned long flags
r22unsigned long fd
r21unsigned long off
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/mmap