syscall.sh / arc / munmap

munmap

map or unmap files or devices into memory

sys_munmap(unsigned long addr, size_t len)
number215 (0xd7)
abicommon
entry pointsys_munmap
sinceLinux 3.9
man pagemunmap(2)
sourceelixir.bootlin.com

Registers

registervalue
r8215, the syscall number
r0unsigned long addr
r1size_t len
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/munmap