syscall.sh / xtensa / 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 | 261 (0x105) |
|---|---|
| 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 |
|---|---|
a2 | 261, the syscall number |
a6 | unsigned long start |
a3 | unsigned long size |
a4 | unsigned long prot |
a5 | unsigned long pgoff |
a8 | unsigned long flags |
a2 | the return value |
Then run syscall 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
- m68k 252
- microblaze 257
- nios2 234
- openrisc 234
- parisc 227
- sh 257
- sparc 192
- sparc64 192
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/remap_file_pages