ppoll on loongarch64
wait for some event on a file descriptor
sys_ppoll(struct pollfd *ufds, unsigned int nfds, struct __kernel_timespec *tsp, const sigset_t *sigmask, size_t sigsetsize)
| number | 73 (0x49) |
|---|---|
| abi | 64 |
| entry point | sys_ppoll |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | ppoll(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 73, the syscall number |
a0 | struct pollfd *ufds |
a1 | unsigned int nfds |
a2 | struct __kernel_timespec *tsp |
a3 | const sigset_t *sigmask |
a4 | size_t sigsetsize |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 271
- x86 309
- arm64 73
- arm 336
- riscv64 73
- ia32 309
- x32 1073742095
- ppc64 281
- ppc 281
- s390x 302
- mips64 5261
- mipsn32 6265
- mipso32 4302
- alpha 464
- arc 73
- blackfin 309, removed in 4.17
- cris 309, removed in 4.17
- csky 73
- frv 309, removed in 4.17
- hexagon 73
- ia64 1295, removed in 6.7
- m32r 309, removed in 4.17
- m68k 302
- metag 73, removed in 4.17
- microblaze 309
- mn10300 310, removed in 4.17
- nds32 73, removed in 5.18
- nios2 73
- openrisc 73
- parisc 274
- score 73, removed in 4.17
- sh 309
- sparc 298
- sparc64 298
- tilegx 73, removed in 4.17
- tilepro 73, removed in 4.17
- xtensa 273
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/ppoll