mremap on tilepro
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)
| number | 216 (0xd8) |
|---|---|
| abi | common |
| entry point | sys_mremap |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | mremap(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 216, the syscall number |
r0 | unsigned long addr |
r1 | unsigned long old_len |
r2 | unsigned long new_len |
r3 | unsigned long flags |
r4 | unsigned long new_addr |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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
- x64 25
- x86 163
- arm64 216
- arm 163
- riscv64 216
- ia32 163
- x32 1073741849
- loongarch64 216
- ppc64 163
- ppc 163
- s390x 163
- mips64 5024
- mipsn32 6024
- mipso32 4167
- alpha 341
- arc 216
- blackfin 163, removed in 4.17
- cris 163, removed in 4.17
- csky 216
- frv 163, removed in 4.17
- hexagon 216
- ia64 1156, removed in 6.7
- m32r 163, removed in 4.17
- m68k 163
- metag 216, removed in 4.17
- microblaze 163
- mn10300 163, removed in 4.17
- nds32 216, removed in 5.18
- nios2 216
- openrisc 216
- parisc 163
- score 216, removed in 4.17
- sh 163
- sparc 250
- sparc64 250
- tilegx 216, removed in 4.17
- xtensa 88
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/mremap?kernel=all