timer_gettime on tilegx
arm/disarm and fetch state of POSIX per-process timer
sys_timer_gettime(timer_t timer_id, struct itimerspec *setting)
| number | 108 (0x6c) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_gettime |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | timer_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 108, the syscall number |
r0 | timer_t timer_id |
r1 | struct itimerspec *setting |
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 224
- x86 261
- arm64 108
- arm 259
- riscv64 108
- ia32 261
- x32 1073742048
- loongarch64 108
- ppc64 242
- ppc 242
- s390x 256
- mips64 5218
- mipsn32 6222
- mipso32 4259
- alpha 416
- arc 108
- blackfin 262, removed in 4.17
- cris 261, removed in 4.17
- csky 108
- frv 261, removed in 4.17
- hexagon 108
- ia64 1250, removed in 6.7
- m32r 261, removed in 4.17
- m68k 256
- metag 108, removed in 4.17
- microblaze 261
- mn10300 261, removed in 4.17
- nds32 108, removed in 5.18
- nios2 108
- openrisc 108
- parisc 252
- score 108, removed in 4.17
- sh 261
- sparc 263
- sparc64 263
- tilepro 108, removed in 4.17
- xtensa 251
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/timer_gettime?kernel=all