syscall.sh / hexagon / settimeofday

settimeofday

get / set time

sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
number170 (0xaa)
abitime32
entry pointsys_settimeofday
sinceLinux 3.7
man pagesettimeofday(2)
sourceelixir.bootlin.com

Registers

registervalue
r6170, the syscall number
r0struct __kernel_old_timeval *tv
r1struct timezone *tz
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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