setitimer on metag
get or set value of an interval timer
sys_setitimer(int which, struct itimerval *value, struct itimerval *ovalue)
| number | 103 (0x67) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_setitimer |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | setitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 103, the syscall number |
D1Ar1 | int which |
D0Ar2 | struct itimerval *value |
D1Ar3 | struct itimerval *ovalue |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 38
- x86 104
- arm64 103
- arm 104
- riscv64 103
- ia32 104
- x32 1073741862
- loongarch64 103
- ppc64 104
- ppc 104
- s390x 104
- mips64 5036
- mipsn32 6036
- mipso32 4104
- alpha 362
- arc 103
- blackfin 104, removed in 4.17
- cris 104, removed in 4.17
- csky 103
- frv 104, removed in 4.17
- hexagon 103
- ia64 1118, removed in 6.7
- m32r 104, removed in 4.17
- m68k 104
- microblaze 104
- mn10300 104, removed in 4.17
- nds32 103, removed in 5.18
- nios2 103
- openrisc 103
- parisc 104
- score 103, removed in 4.17
- sh 104
- sparc 83
- sparc64 83
- tilegx 103, removed in 4.17
- tilepro 103, removed in 4.17
- xtensa 134
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/setitimer?kernel=all