syscall.sh / sparc / remap_file_pages
remap_file_pages
create a nonlinear file mapping
sys_sparc_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags)
| number | 192 (0xc0) |
|---|---|
| abi | 32 |
| entry point | sys_sparc_remap_file_pages |
| since | Linux 5.0 |
| man page | remap_file_pages(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 192, the syscall number |
o0 | unsigned long start |
o1 | unsigned long size |
o2 | unsigned long prot |
o3 | unsigned long pgoff |
o4 | unsigned long flags |
o0 | the return value |
Then run t 0x10 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
- sparc64 192
- xtensa 261
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/remap_file_pages