clock_gettime on m32r
clock and time functions
sys_clock_gettime(clockid_t which_clock, struct timespec *tp)
| number | 265 (0x109) |
|---|---|
| abi | common |
| entry point | sys_clock_gettime |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | clock_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 265, the syscall number |
r0 | clockid_t which_clock |
r1 | struct timespec *tp |
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 228
- x86 265
- arm64 113
- arm 263
- riscv64 113
- ia32 265
- x32 1073742052
- loongarch64 113
- ppc64 246
- ppc 246
- s390x 260
- mips64 5222
- mipsn32 6226
- mipso32 4263
- alpha 420
- arc 113
- blackfin 266, removed in 4.17
- cris 265, removed in 4.17
- csky 113
- frv 265, removed in 4.17
- hexagon 113
- ia64 1254, removed in 6.7
- m68k 260
- metag 113, removed in 4.17
- microblaze 265
- mn10300 265, removed in 4.17
- nds32 113, removed in 5.18
- nios2 113
- openrisc 113
- parisc 256
- score 113, removed in 4.17
- sh 265
- sparc 257
- sparc64 257
- tilegx 113, removed in 4.17
- tilepro 113, removed in 4.17
- xtensa 245
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/clock_gettime?kernel=all