getitimer on metag
get or set value of an interval timer
sys_getitimer(int which, struct itimerval *value)
| number | 102 (0x66) |
|---|---|
| abi | common |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_getitimer |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | getitimer(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 102, the syscall number |
D1Ar1 | int which |
D0Ar2 | struct itimerval *value |
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 36
- x86 105
- arm64 102
- arm 105
- riscv64 102
- ia32 105
- x32 1073741860
- loongarch64 102
- ppc64 105
- ppc 105
- s390x 105
- mips64 5035
- mipsn32 6035
- mipso32 4105
- alpha 361
- arc 102
- blackfin 105, removed in 4.17
- cris 105, removed in 4.17
- csky 102
- frv 105, removed in 4.17
- hexagon 102
- ia64 1119, removed in 6.7
- m32r 105, removed in 4.17
- m68k 105
- microblaze 105
- mn10300 105, removed in 4.17
- nds32 102, removed in 5.18
- nios2 102
- openrisc 102
- parisc 105
- score 102, removed in 4.17
- sh 105
- sparc 86
- sparc64 86
- tilegx 102, removed in 4.17
- tilepro 102, removed in 4.17
- xtensa 135
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/getitimer?kernel=all