remap_file_pages on tilepro
create a nonlinear file mapping
sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags)
| number | 234 (0xea) |
|---|---|
| abi | common |
| entry point | sys_remap_file_pages |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | remap_file_pages(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 234, the syscall number |
r0 | unsigned long start |
r1 | unsigned long size |
r2 | unsigned long prot |
r3 | unsigned long pgoff |
r4 | unsigned long flags |
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 216
- x86 257
- arm64 234
- arm 253
- riscv64 234
- ia32 257
- x32 1073742040
- loongarch64 234
- ppc64 239
- ppc 239
- s390x 267
- mips64 5210
- mipsn32 6210
- mipso32 4251
- alpha 410
- arc 234
- cris 257, removed in 4.17
- csky 234
- frv 257, removed in 4.17
- hexagon 234
- ia64 1125, removed in 6.7
- m32r 257, removed in 4.17
- m68k 252
- metag 234, removed in 4.17
- microblaze 257
- mn10300 257, removed in 4.17
- nds32 234, removed in 5.18
- nios2 234
- openrisc 234
- parisc 227
- score 234, removed in 4.17
- sh 257
- sparc 192
- sparc64 192
- tilegx 234, removed in 4.17
- xtensa 261
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/remap_file_pages?kernel=all