mmap2 on mn10300
map files or devices into memory
sys_mmap_pgoff(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff)
| number | 192 (0xc0) |
|---|---|
| abi | common |
| entry point | sys_mmap_pgoff |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | mmap2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 192, the syscall number |
a0 | unsigned long addr |
d1 | unsigned long len |
a3 | unsigned long prot |
a2 | unsigned long flags |
d3 | unsigned long fd |
d2 | unsigned long pgoff |
d0 | the return value |
Then run syscall 0 to enter the kernel.
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
- x86 192
- arm 192
- ia32 192
- ppc 192
- mipso32 4210
- arc 222
- blackfin 192, removed in 4.17
- cris 192, removed in 4.17
- csky 222
- frv 192, removed in 4.17
- hexagon 222
- ia64 1172, removed in 6.7
- m32r 192, removed in 4.17
- m68k 192
- metag 222, removed in 4.17
- microblaze 192
- nds32 222, removed in 5.18
- nios2 222
- openrisc 222
- parisc 89
- score 222, removed in 4.17
- sh 192
- sparc 56
- tilepro 222, removed in 4.17
- xtensa 80
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/mmap2?kernel=all