syscall.sh / m68k / remap_file_pages
remap_file_pages
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 | 252 (0xfc) |
|---|---|
| abi | common |
| entry point | sys_remap_file_pages |
| since | Linux 5.0 |
| man page | remap_file_pages(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 252, the syscall number |
d1 | unsigned long start |
d2 | unsigned long size |
d3 | unsigned long prot |
d4 | unsigned long pgoff |
d5 | unsigned long flags |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
- x64 216
- x86 257
- arm64 234
- arm 253
- riscv64 234
- x32 1073742040
- loongarch64 234
- ppc64 239
- ppc 239
- s390x 267
- mips64 5210
- mipsn32 6210
- mipso32 4251
- alpha 410
- arc 234
- csky 234
- hexagon 234
- microblaze 257
- nios2 234
- openrisc 234
- parisc 227
- sh 257
- sparc 192
- sparc64 192
- xtensa 261
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/remap_file_pages