timer_create on tilepro
create a POSIX per-process timer
sys_timer_create(clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id)
| number | 107 (0x6b) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_create |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | timer_create(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 107, the syscall number |
r0 | clockid_t which_clock |
r1 | struct sigevent *timer_event_spec |
r2 | timer_t *created_timer_id |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 222
- x86 259
- arm64 107
- arm 257
- riscv64 107
- ia32 259
- x32 1073742350
- loongarch64 107
- ppc64 240
- ppc 240
- s390x 254
- mips64 5216
- mipsn32 6220
- mipso32 4257
- alpha 414
- arc 107
- blackfin 260, removed in 4.17
- cris 259, removed in 4.17
- csky 107
- frv 259, removed in 4.17
- hexagon 107
- ia64 1248, removed in 6.7
- m32r 259, removed in 4.17
- m68k 254
- metag 107, removed in 4.17
- microblaze 259
- mn10300 259, removed in 4.17
- nds32 107, removed in 5.18
- nios2 107
- openrisc 107
- parisc 250
- score 107, removed in 4.17
- sh 259
- sparc 266
- sparc64 266
- tilegx 107, removed in 4.17
- xtensa 248
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/timer_create?kernel=all