syscall.sh / xtensa / mremap

mremap

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)
number88 (0x58)
abicommon
entry pointsys_mremap
sinceLinux 5.0
man pagemremap(2)
sourceelixir.bootlin.com

Registers

registervalue
a288, the syscall number
a6unsigned long addr
a3unsigned long old_len
a4unsigned long new_len
a5unsigned long flags
a8unsigned long new_addr
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/mremap