mmap2 on ia64
map files or devices into memory
sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff)
| number | 1172 (0x494) |
|---|---|
| abi | common |
| entry point | sys_mmap2 |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | mmap2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1172, the syscall number |
out0 | unsigned long addr |
out1 | unsigned long len |
out2 | unsigned long prot |
out3 | unsigned long flags |
out4 | unsigned long fd |
out5 | unsigned long pgoff |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. 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
- m32r 192, removed in 4.17
- m68k 192
- metag 222, removed in 4.17
- microblaze 192
- mn10300 192, removed in 4.17
- 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/ia64/mmap2?kernel=all