syscall.sh / microblaze / 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 | 257 (0x101) |
|---|---|
| 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 |
|---|---|
r12 | 257, the syscall number |
r5 | unsigned long start |
r6 | unsigned long size |
r7 | unsigned long prot |
r8 | unsigned long pgoff |
r9 | unsigned long flags |
r3 | the return value |
Then run brki r14,8 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
- nios2 234
- openrisc 234
- parisc 227
- sh 257
- sparc 192
- sparc64 192
- xtensa 261
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/remap_file_pages