settimeofday on tilepro
get / set time
sys_settimeofday(struct timeval *tv, struct timezone *tz)
| number | 170 (0xaa) |
|---|---|
| abi | common |
| entry point | sys_settimeofday |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | settimeofday(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 170, the syscall number |
r0 | struct timeval *tv |
r1 | struct timezone *tz |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 164
- x86 79
- arm64 170
- arm 79
- riscv64 170
- ia32 79
- x32 1073741988
- loongarch64 170
- ppc64 79
- ppc 79
- s390x 79
- mips64 5159
- mipsn32 6159
- mipso32 4079
- alpha 360
- arc 170
- blackfin 79, removed in 4.17
- cris 79, removed in 4.17
- csky 170
- frv 79, removed in 4.17
- hexagon 170
- ia64 1088, removed in 6.7
- m32r 79, removed in 4.17
- m68k 79
- metag 170, removed in 4.17
- microblaze 79
- mn10300 79, removed in 4.17
- nds32 170, removed in 5.18
- nios2 170
- openrisc 170
- parisc 79
- score 170, removed in 4.17
- sh 79
- sparc 122
- sparc64 122
- tilegx 170, removed in 4.17
- xtensa 193
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/settimeofday?kernel=all