time on m32r
get time in seconds
sys_time(time_t *tloc)
| number | 13 (0xd) |
|---|---|
| abi | common |
| entry point | sys_time |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | time(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 13, the syscall number |
r0 | time_t *tloc |
r0 | the return value |
Then run trap #2 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 201
- x86 13
- ia32 13
- x32 1073742025
- ppc64 13
- ppc 13
- mipso32 4013
- blackfin 13, removed in 4.17
- cris 13, removed in 4.17
- frv 13, removed in 4.17
- m68k 13
- microblaze 13
- mn10300 13, removed in 4.17
- parisc 13
- score 1062, removed in 4.17
- sh 13
- sparc 231
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/time?kernel=all