clock_getres on tilepro
clock and time functions
sys_clock_getres(clockid_t which_clock, struct timespec *tp)
| number | 114 (0x72) |
|---|---|
| abi | common |
| entry point | sys_clock_getres |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | clock_getres(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 114, the syscall number |
r0 | clockid_t which_clock |
r1 | struct timespec *tp |
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 229
- x86 266
- arm64 114
- arm 264
- riscv64 114
- ia32 266
- x32 1073742053
- loongarch64 114
- ppc64 247
- ppc 247
- s390x 261
- mips64 5223
- mipsn32 6227
- mipso32 4264
- alpha 421
- arc 114
- blackfin 267, removed in 4.17
- cris 266, removed in 4.17
- csky 114
- frv 266, removed in 4.17
- hexagon 114
- ia64 1255, removed in 6.7
- m32r 266, removed in 4.17
- m68k 261
- metag 114, removed in 4.17
- microblaze 266
- mn10300 266, removed in 4.17
- nds32 114, removed in 5.18
- nios2 114
- openrisc 114
- parisc 257
- score 114, removed in 4.17
- sh 266
- sparc 258
- sparc64 258
- tilegx 114, removed in 4.17
- xtensa 246
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/clock_getres?kernel=all