syscall.sh / sparc64 / futex

futex

fast user-space locking

sys_futex(u32 *uaddr, int op, u32 val, const struct __kernel_timespec *utime, u32 *uaddr2, u32 val3)
number142 (0x8e)
abi64
entry pointsys_futex
sinceLinux 5.0
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
g1142, the syscall number
o0u32 *uaddr
o1int op
o2u32 val
o3const struct __kernel_timespec *utime
o4u32 *uaddr2
o5u32 val3
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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