syscall.sh / mipso32 / futex
futex
fast user-space locking
sys_futex_time32(u32 *uaddr, int op, u32 val, const struct old_timespec32 *utime, u32 *uaddr2, u32 val3)
| number | 4238 (0x108e) |
|---|---|
| abi | o32 |
| entry point | sys_futex_time32 |
| since | Linux 5.0 |
| man page | futex(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4238, the syscall number |
a0 | u32 *uaddr |
a1 | int op |
a2 | u32 val |
a3 | const struct old_timespec32 *utime |
sp+16 | u32 *uaddr2 |
sp+20 | u32 val3 |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 202
- x86 240
- arm64 98
- arm 240
- riscv64 98
- x32 1073742026
- loongarch64 98
- ppc64 221
- ppc 221
- s390x 238
- mips64 5194
- mipsn32 6194
- alpha 394
- arc 98
- csky 98
- hexagon 98
- m68k 235
- microblaze 240
- nios2 98
- openrisc 98
- parisc 210
- sh 240
- sparc 142
- sparc64 142
- xtensa 191
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/futex