syscall.sh / sparc64 / settimeofday
settimeofday
get / set time
sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
| number | 122 (0x7a) |
|---|---|
| abi | common |
| entry point | sys_settimeofday |
| since | Linux 5.0 |
| man page | settimeofday(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 122, the syscall number |
o0 | struct __kernel_old_timeval *tv |
o1 | struct timezone *tz |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 164
- x86 79
- arm64 170
- arm 79
- riscv64 170
- x32 1073741988
- loongarch64 170
- ppc64 79
- ppc 79
- s390x 79
- mips64 5159
- mipsn32 6159
- mipso32 4079
- alpha 360
- arc 170
- csky 170
- hexagon 170
- m68k 79
- microblaze 79
- nios2 170
- openrisc 170
- parisc 79
- sh 79
- sparc 122
- xtensa 193
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/settimeofday