futex on ia32

fast user-space locking

sys_futex_time32(u32 *uaddr, int op, u32 val, const struct old_timespec32 *utime, u32 *uaddr2, u32 val3)
number240 (0xf0)
abii386
entry pointsys_futex_time32
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
eax240, the syscall number
ebxu32 *uaddr
ecxint op
edxu32 val
esiconst struct old_timespec32 *utime
ediu32 *uaddr2
ebpu32 val3
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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