clock_gettime on nds32
clock and time functions
sys_clock_gettime32(clockid_t which_clock, struct old_timespec32 *tp)
| number | 113 (0x71) |
|---|---|
| abi | common |
| entry point | sys_clock_gettime32 |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | clock_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 113, the syscall number |
r0 | clockid_t which_clock |
r1 | struct old_timespec32 *tp |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. 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
- m32r 265, removed in 4.17
- m68k 260
- metag 113, removed in 4.17
- microblaze 265
- mn10300 265, removed in 4.17
- 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/nds32/clock_gettime?kernel=all