syscall.sh / csky / futex

futex

fast user-space locking

sys_futex_time32(u32 *uaddr, int op, u32 val, const struct old_timespec32 *utime, u32 *uaddr2, u32 val3)
number98 (0x62)
abitime32
entry pointsys_futex_time32
sinceLinux 4.20
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
r798, the syscall number
a0u32 *uaddr
a1int op
a2u32 val
a3const struct old_timespec32 *utime
r4u32 *uaddr2
r5u32 val3
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/futex