futex_wait on ia32

sys_futex_wait(void *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec *timespec, clockid_t clockid)
number455 (0x1c7)
abii386
entry pointsys_futex_wait
sinceLinux 6.7
sourceelixir.bootlin.com

Registers

registervalue
eax455, the syscall number
ebxvoid *uaddr
ecxunsigned long val
edxunsigned long mask
esiunsigned int flags
edistruct __kernel_timespec *timespec
ebpclockid_t clockid
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_wait