clock_adjtime on loongarch64

tune kernel clock

sys_clock_adjtime(clockid_t which_clock, struct __kernel_timex *tx)
number266 (0x10a)
abi64
kconfigCONFIG_POSIX_TIMERS
entry pointsys_clock_adjtime
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pageclock_adjtime(2)
sourceelixir.bootlin.com

Registers

registervalue
a7266, the syscall number
a0clockid_t which_clock
a1struct __kernel_timex *tx
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/clock_adjtime