timer_gettime on nds32
arm/disarm and fetch state of POSIX per-process timer
sys_timer_gettime32(timer_t timer_id, struct old_itimerspec32 *setting)
| number | 108 (0x6c) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_gettime32 |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | timer_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 108, the syscall number |
r0 | timer_t timer_id |
r1 | struct old_itimerspec32 *setting |
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 224
- x86 261
- arm64 108
- arm 259
- riscv64 108
- ia32 261
- x32 1073742048
- loongarch64 108
- ppc64 242
- ppc 242
- s390x 256
- mips64 5218
- mipsn32 6222
- mipso32 4259
- alpha 416
- arc 108
- blackfin 262, removed in 4.17
- cris 261, removed in 4.17
- csky 108
- frv 261, removed in 4.17
- hexagon 108
- ia64 1250, removed in 6.7
- m32r 261, removed in 4.17
- m68k 256
- metag 108, removed in 4.17
- microblaze 261
- mn10300 261, removed in 4.17
- nios2 108
- openrisc 108
- parisc 252
- score 108, removed in 4.17
- sh 261
- sparc 263
- sparc64 263
- tilegx 108, removed in 4.17
- tilepro 108, removed in 4.17
- xtensa 251
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/timer_gettime?kernel=all