waitpid on cris
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 cris) |
| man page | waitpid(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 7, the syscall number |
r10 | pid_t pid |
r11 | int *stat_addr |
r12 | int options |
r10 | the return value |
Then run break 13 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
- frv 7, removed in 4.17
- m32r 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/cris/waitpid?kernel=all