syscall.sh / mipso32 / futex_wait
futex_wait
sys_futex_wait(void *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec *timespec, clockid_t clockid)
| number | 4455 (0x1167) |
|---|---|
| abi | o32 |
| entry point | sys_futex_wait |
| since | Linux 6.7 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4455, the syscall number |
a0 | void *uaddr |
a1 | unsigned long val |
a2 | unsigned long mask |
a3 | unsigned int flags |
sp+16 | struct __kernel_timespec *timespec |
sp+20 | clockid_t clockid |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 455
- x86 455
- arm64 455
- arm 455
- riscv64 455
- x32 1073742279
- loongarch64 455
- ppc64 455
- ppc 455
- s390x 455
- mips64 5455
- mipsn32 6455
- alpha 565
- arc 455
- csky 455
- hexagon 455
- m68k 455
- microblaze 455
- nios2 455
- openrisc 455
- parisc 455
- sh 455
- sparc 455
- sparc64 455
- xtensa 455
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/futex_wait