semget on blackfin
get a System V semaphore set identifier
sys_semget(key_t key, int nsems, int semflg)
| number | 332 (0x14c) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on blackfin |
| entry point | sys_semget |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | semget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 332, the syscall number |
R0 | key_t key |
R1 | int nsems |
R2 | int semflg |
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 64
- x86 393
- arm64 190
- arm 299
- riscv64 190
- ia32 393
- x32 1073741888
- loongarch64 190
- ppc64 393
- ppc 393
- s390x 393
- mips64 5062
- mipsn32 6062
- mipso32 4393
- alpha 205
- arc 190
- csky 190
- hexagon 190
- ia64 1106, removed in 6.7
- m68k 393
- metag 190, removed in 4.17
- microblaze 329
- nds32 190, removed in 5.18
- nios2 190
- openrisc 190
- parisc 186
- score 190, removed in 4.17
- sh 393
- sparc 393
- sparc64 393
- tilegx 190, removed in 4.17
- tilepro 190, removed in 4.17
- xtensa 162
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/semget?kernel=all