shmdt on tilepro
System V shared memory operations
sys_shmdt(char *shmaddr)
| number | 197 (0xc5) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on tilepro |
| entry point | sys_shmdt |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | shmdt(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 197, the syscall number |
r0 | char *shmaddr |
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 67
- x86 398
- arm64 197
- arm 306
- riscv64 197
- ia32 398
- x32 1073741891
- loongarch64 197
- ppc64 398
- ppc 398
- s390x 398
- mips64 5065
- mipsn32 6065
- mipso32 4398
- alpha 211
- arc 197
- blackfin 340, removed in 4.17
- csky 197
- hexagon 197
- ia64 1115, removed in 6.7
- m68k 398
- metag 197, removed in 4.17
- microblaze 337
- nds32 197, removed in 5.18
- nios2 197
- openrisc 197
- parisc 193
- score 197, removed in 4.17
- sh 398
- sparc 398
- sparc64 398
- tilegx 197, removed in 4.17
- xtensa 95
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/shmdt?kernel=all