waitpid on mn10300
wait for process to change state
sys_waitpid(pid_t pid, int *stat_addr, int options)
| number | 7 (0x7) |
|---|---|
| abi | common |
| entry point | sys_waitpid |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | waitpid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 7, the syscall number |
a0 | pid_t pid |
d1 | int *stat_addr |
a3 | int options |
d0 | the return value |
Then run syscall 0 to enter the kernel.
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
- x86 7
- ia32 7
- ppc64 7
- ppc 7
- mipso32 4007
- cris 7, removed in 4.17
- frv 7, removed in 4.17
- m32r 7, removed in 4.17
- m68k 7
- microblaze 7
- parisc 7
- sh 7
- sparc 212
- sparc64 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/waitpid?kernel=all