settimeofday on mn10300
get / set time
sys_settimeofday(struct timeval *tv, struct timezone *tz)
| number | 79 (0x4f) |
|---|---|
| abi | common |
| entry point | sys_settimeofday |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | settimeofday(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 79, the syscall number |
a0 | struct timeval *tv |
d1 | struct timezone *tz |
d0 | the return value |
Then run syscall 0 to enter the kernel.
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
- 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
- tilepro 170, removed in 4.17
- xtensa 193
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/settimeofday?kernel=all