semtimedop on metag
System V semaphore operations
sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct timespec *timeout)
| number | 192 (0xc0) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on metag |
| entry point | sys_semtimedop |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | semtimedop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 192, the syscall number |
D1Ar1 | int semid |
D0Ar2 | struct sembuf *sops |
D1Ar3 | unsigned nsops |
D0Ar4 | const struct timespec *timeout |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 220
- arm64 192
- arm 312
- riscv64 192
- x32 1073742044
- loongarch64 192
- ppc64 392
- s390x 392
- mips64 5214
- mipsn32 6215
- alpha 423
- arc 192
- blackfin 357, removed in 4.17
- csky 192
- hexagon 192
- ia64 1247, removed in 6.7
- microblaze 325
- nds32 192, removed in 5.18
- nios2 192
- openrisc 192
- parisc 228
- score 192, removed in 4.17
- sparc64 392
- tilegx 192, removed in 4.17
- tilepro 192, removed in 4.17
- xtensa 161
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/semtimedop?kernel=all