pipe2 on metag
create pipe
sys_pipe2(int *fildes, int flags)
| number | 59 (0x3b) |
|---|---|
| abi | common |
| entry point | sys_pipe2 |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | pipe2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 59, the syscall number |
D1Ar1 | int *fildes |
D0Ar2 | int flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- 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
- tilepro 59, removed in 4.17
- xtensa 311
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/pipe2?kernel=all