timer_gettime on m32r
arm/disarm and fetch state of POSIX per-process timer
sys_timer_gettime(timer_t timer_id, struct itimerspec *setting)
| number | 261 (0x105) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_gettime |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | timer_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 261, the syscall number |
r0 | timer_t timer_id |
r1 | struct itimerspec *setting |
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 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
- m68k 256
- metag 108, removed in 4.17
- microblaze 261
- mn10300 261, removed in 4.17
- nds32 108, removed in 5.18
- 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/m32r/timer_gettime?kernel=all