syscall.sh / arc / 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 3.9
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
r898, the syscall number
r0u32 *uaddr
r1int op
r2u32 val
r3const struct old_timespec32 *utime
r4u32 *uaddr2
r5u32 val3
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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