pselect6 on loongarch64
synchronous I/O multiplexing
sys_pselect6(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_timespec *tsp, void *sig)
| number | 72 (0x48) |
|---|---|
| abi | 64 |
| entry point | sys_pselect6 |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | pselect6(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 72, the syscall number |
a0 | int n |
a1 | fd_set *inp |
a2 | fd_set *outp |
a3 | fd_set *exp |
a4 | struct __kernel_timespec *tsp |
a5 | void *sig |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 270
- x86 308
- arm64 72
- arm 335
- riscv64 72
- ia32 308
- x32 1073742094
- ppc64 280
- ppc 280
- s390x 301
- mips64 5260
- mipsn32 6264
- mipso32 4301
- alpha 463
- arc 72
- blackfin 308, removed in 4.17
- cris 308, removed in 4.17
- csky 72
- frv 308, removed in 4.17
- hexagon 72
- ia64 1294, removed in 6.7
- m32r 308, removed in 4.17
- m68k 301
- metag 72, removed in 4.17
- microblaze 308
- mn10300 309, removed in 4.17
- nds32 72, removed in 5.18
- nios2 72
- openrisc 72
- parisc 273
- score 72, removed in 4.17
- sh 308
- sparc 297
- sparc64 297
- tilegx 72, removed in 4.17
- tilepro 72, removed in 4.17
- xtensa 272
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/pselect6