syscall.sh / parisc / settimeofday
settimeofday
get / set time
sys_settimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
| number | 79 (0x4f) |
|---|---|
| abi | common |
| entry point | sys_settimeofday |
| since | Linux 5.0 |
| man page | settimeofday(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 79, the syscall number |
r26 | struct __kernel_old_timeval *tv |
r25 | struct timezone *tz |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) 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
- sh 79
- sparc 122
- sparc64 122
- xtensa 193
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/settimeofday