syscall.sh / xtensa / settimeofday

settimeofday

get / set time

sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number193 (0xc1)
abicommon
entry pointsys_settimeofday
sinceLinux 5.0
man pagesettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
a2193, the syscall number
a6struct __kernel_old_timeval *tv
a3struct timezone *tz
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/settimeofday