syscall.sh / microblaze / waitpid

waitpid

wait for process to change state

sys_waitpid(pid_t pid, int *stat_addr, int options)
number7 (0x7)
abicommon
entry pointsys_waitpid
sinceLinux 5.0
man pagewaitpid(2)
sourceelixir.bootlin.com

Registers

registervalue
r127, the syscall number
r5pid_t pid
r6int *stat_addr
r7int options
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/waitpid