syscall.sh / ppc / futex_wait

futex_wait

sys_futex_wait(void *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec *timespec, clockid_t clockid)
number455 (0x1c7)
abicommon
entry pointsys_futex_wait
sinceLinux 6.7
sourceelixir.bootlin.com

Registers

registervalue
r0455, the syscall number
r3void *uaddr
r4unsigned long val
r5unsigned long mask
r6unsigned int flags
r7struct __kernel_timespec *timespec
r8clockid_t clockid
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/futex_wait