waitid on metag
wait for process to change state
sys_waitid(int which, pid_t pid, struct siginfo *infop, int options, struct rusage *ru)
| number | 95 (0x5f) |
|---|---|
| abi | common |
| entry point | sys_waitid |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | waitid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 95, the syscall number |
D1Ar1 | int which |
D0Ar2 | pid_t pid |
D1Ar3 | struct siginfo *infop |
D0Ar4 | int options |
D1Ar5 | struct rusage *ru |
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 247
- x86 284
- arm64 95
- arm 280
- riscv64 95
- ia32 284
- x32 1073742353
- loongarch64 95
- ppc64 272
- ppc 272
- s390x 281
- mips64 5237
- mipsn32 6241
- mipso32 4278
- alpha 438
- arc 95
- blackfin 285, removed in 4.17
- cris 284, removed in 4.17
- csky 95
- frv 284, removed in 4.17
- hexagon 95
- ia64 1270, removed in 6.7
- m32r 284, removed in 4.17
- m68k 277
- microblaze 284
- mn10300 284, removed in 4.17
- nds32 95, removed in 5.18
- nios2 95
- openrisc 95
- parisc 235
- score 95, removed in 4.17
- sh 284
- sparc 279
- sparc64 279
- tilegx 95, removed in 4.17
- tilepro 95, removed in 4.17
- xtensa 122
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/waitid?kernel=all