semget on tilegx
get a System V semaphore set identifier
sys_semget(key_t key, int nsems, int semflg)
| number | 190 (0xbe) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on tilegx |
| entry point | sys_semget |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | semget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 190, the syscall number |
r0 | key_t key |
r1 | int nsems |
r2 | int semflg |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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
- blackfin 332, removed in 4.17
- 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
- tilepro 190, removed in 4.17
- xtensa 162
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/semget?kernel=all