clock_adjtime on tilegx
tune kernel clock
sys_clock_adjtime(clockid_t which_clock, struct timex *tx)
| number | 266 (0x10a) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_clock_adjtime |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | clock_adjtime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 266, the syscall number |
r0 | clockid_t which_clock |
r1 | struct timex *tx |
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 305
- x86 343
- arm64 266
- arm 372
- riscv64 266
- ia32 343
- x32 1073742129
- loongarch64 266
- ppc64 347
- ppc 347
- s390x 337
- mips64 5300
- mipsn32 6305
- mipso32 4341
- alpha 499
- arc 266
- blackfin 377, removed in 4.17
- cris 345, removed in 4.17
- csky 266
- hexagon 266
- ia64 1328, removed in 6.7
- m68k 342
- metag 266, removed in 4.17
- microblaze 373
- nds32 266, removed in 5.18
- nios2 266
- openrisc 266
- parisc 324
- score 266, removed in 4.17
- sh 361
- sparc 334
- sparc64 334
- tilepro 266, removed in 4.17
- xtensa 329
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/clock_adjtime?kernel=all