waitpid on m32r
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 m32r) |
| man page | waitpid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 7, the syscall number |
r0 | pid_t pid |
r1 | int *stat_addr |
r2 | int options |
r0 | the return value |
Then run trap #2 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
- m68k 7
- microblaze 7
- mn10300 7, removed in 4.17
- parisc 7
- sh 7
- sparc 212
- sparc64 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/waitpid?kernel=all