syscall.sh / csky / 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 | 455 (0x1c7) |
|---|---|
| abi | common |
| entry point | sys_futex_wait |
| since | Linux 6.7 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 455, the syscall number |
a0 | void *uaddr |
a1 | unsigned long val |
a2 | unsigned long mask |
a3 | unsigned int flags |
r4 | struct __kernel_timespec *timespec |
r5 | clockid_t clockid |
a0 | the return value |
Then run trap 0 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
- mipso32 4455
- alpha 565
- arc 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/csky/futex_wait