syscall.sh / csky / clock_adjtime
clock_adjtime
tune kernel clock
sys_clock_adjtime32(clockid_t which_clock, struct old_timex32 *tx)
| number | 266 (0x10a) |
|---|---|
| abi | time32 |
| entry point | sys_clock_adjtime32 |
| since | Linux 4.20 |
| man page | clock_adjtime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 266, the syscall number |
a0 | clockid_t which_clock |
a1 | struct old_timex32 *tx |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 305
- x86 343
- arm64 266
- arm 372
- riscv64 266
- x32 1073742129
- loongarch64 266
- ppc64 347
- ppc 347
- s390x 337
- mips64 5300
- mipsn32 6305
- mipso32 4341
- alpha 499
- arc 266
- hexagon 266
- m68k 342
- microblaze 373
- nios2 266
- openrisc 266
- parisc 324
- sh 361
- sparc 334
- sparc64 334
- xtensa 329
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/clock_adjtime