mremap on cris

remap a virtual memory address

sys_mremap(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr)
number163 (0xa3)
abicommon
entry pointsys_mremap
sinceLinux 3.3 or earlier (3.3 is the first release scanned for cris)
man pagemremap(2)
sourceelixir.bootlin.com

Registers

registervalue
r9163, the syscall number
r10unsigned long addr
r11unsigned long old_len
r12unsigned long new_len
r13unsigned long flags
mofunsigned long new_addr
r10the return value

Then run break 13 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/mremap?kernel=all