semop on blackfin
System V semaphore operations
sys_semop(int semid, struct sembuf *sops, unsigned nsops)
| number | 333 (0x14d) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on blackfin |
| entry point | sys_semop |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | semop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 333, the syscall number |
R0 | int semid |
R1 | struct sembuf *sops |
R2 | unsigned nsops |
R0 | the return value |
Then run excpt 0 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 65
- arm64 193
- arm 298
- riscv64 193
- x32 1073741889
- loongarch64 193
- mips64 5063
- mipsn32 6063
- alpha 206
- arc 193
- csky 193
- hexagon 193
- ia64 1107, removed in 6.7
- metag 193, removed in 4.17
- microblaze 330
- nds32 193, removed in 5.18
- nios2 193
- openrisc 193
- parisc 185
- score 193, removed in 4.17
- tilegx 193, removed in 4.17
- tilepro 193, removed in 4.17
- xtensa 163
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/semop?kernel=all