getitimer on tilepro
get or set value of an interval timer
sys_getitimer(int which, struct itimerval *value)
| number | 102 (0x66) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_getitimer |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | getitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 102, the syscall number |
r0 | int which |
r1 | struct itimerval *value |
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 36
- x86 105
- arm64 102
- arm 105
- riscv64 102
- ia32 105
- x32 1073741860
- loongarch64 102
- ppc64 105
- ppc 105
- s390x 105
- mips64 5035
- mipsn32 6035
- mipso32 4105
- alpha 361
- arc 102
- blackfin 105, removed in 4.17
- cris 105, removed in 4.17
- csky 102
- frv 105, removed in 4.17
- hexagon 102
- ia64 1119, removed in 6.7
- m32r 105, removed in 4.17
- m68k 105
- metag 102, removed in 4.17
- microblaze 105
- mn10300 105, removed in 4.17
- nds32 102, removed in 5.18
- nios2 102
- openrisc 102
- parisc 105
- score 102, removed in 4.17
- sh 105
- sparc 86
- sparc64 86
- tilegx 102, removed in 4.17
- xtensa 135
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/getitimer?kernel=all