msgget on tilepro
get a System V message queue identifier
sys_msgget(key_t key, int msgflg)
| number | 186 (0xba) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on tilepro |
| entry point | sys_msgget |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | msgget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 186, the syscall number |
r0 | key_t key |
r1 | int msgflg |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 68
- x86 399
- arm64 186
- arm 303
- riscv64 186
- ia32 399
- x32 1073741892
- loongarch64 186
- ppc64 399
- ppc 399
- s390x 399
- mips64 5066
- mipsn32 6066
- mipso32 4399
- alpha 201
- arc 186
- blackfin 335, removed in 4.17
- csky 186
- hexagon 186
- ia64 1109, removed in 6.7
- m68k 399
- metag 186, removed in 4.17
- microblaze 332
- nds32 186, removed in 5.18
- nios2 186
- openrisc 186
- parisc 190
- score 186, removed in 4.17
- sh 399
- sparc 399
- sparc64 399
- tilegx 186, removed in 4.17
- xtensa 166
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/msgget?kernel=all