pipe2 on tilepro
create pipe
sys_pipe2(int *fildes, int flags)
| number | 59 (0x3b) |
|---|---|
| abi | common |
| entry point | sys_pipe2 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | pipe2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 59, the syscall number |
r0 | int *fildes |
r1 | int flags |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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
- x64 293
- x86 331
- arm64 59
- arm 359
- riscv64 59
- ia32 331
- x32 1073742117
- loongarch64 59
- ppc64 317
- ppc 317
- s390x 325
- mips64 5287
- mipsn32 6291
- mipso32 4328
- alpha 488
- arc 59
- blackfin 364, removed in 4.17
- cris 331, removed in 4.17
- csky 59
- frv 331, removed in 4.17
- hexagon 59
- ia64 1317, removed in 6.7
- m68k 327
- metag 59, removed in 4.17
- microblaze 343
- mn10300 332, removed in 4.17
- nds32 59, removed in 5.18
- nios2 59
- openrisc 59
- parisc 313
- score 59, removed in 4.17
- sh 331
- sparc 321
- sparc64 321
- tilegx 59, removed in 4.17
- xtensa 311
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/pipe2?kernel=all