futex on m32r
fast user-space locking
sys_futex(u32 *uaddr, int op, u32 val, struct timespec *utime, u32 *uaddr2, u32 val3)
| number | 240 (0xf0) |
|---|---|
| abi | common |
| entry point | sys_futex |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | futex(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 240, the syscall number |
r0 | u32 *uaddr |
r1 | int op |
r2 | u32 val |
r3 | struct timespec *utime |
r4 | u32 *uaddr2 |
r5 | u32 val3 |
r0 | the return value |
Then run trap #2 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 202
- x86 240
- arm64 98
- arm 240
- riscv64 98
- ia32 240
- x32 1073742026
- loongarch64 98
- ppc64 221
- ppc 221
- s390x 238
- mips64 5194
- mipsn32 6194
- mipso32 4238
- alpha 394
- arc 98
- blackfin 240, removed in 4.17
- cris 240, removed in 4.17
- csky 98
- frv 240, removed in 4.17
- hexagon 98
- ia64 1230, removed in 6.7
- m68k 235
- metag 98, removed in 4.17
- microblaze 240
- mn10300 240, removed in 4.17
- nds32 98, removed in 5.18
- nios2 98
- openrisc 98
- parisc 210
- score 98, removed in 4.17
- sh 240
- sparc 142
- sparc64 142
- tilegx 98, removed in 4.17
- tilepro 98, removed in 4.17
- xtensa 191
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/futex?kernel=all