syscall.sh / nios2 / 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
r2455, the syscall number
r4void *uaddr
r5unsigned long val
r6unsigned long mask
r7unsigned int flags
r8struct __kernel_timespec *timespec
r9clockid_t clockid
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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