getitimer on tilegx

get or set value of an interval timer

sys_getitimer(int which, struct itimerval *value)
number102 (0x66)
abicommon
kconfigCONFIG_POSIX_TIMERS
entry pointsys_getitimer
sinceLinux 3.7 or earlier (3.7 is the first release scanned for tilegx)
man pagegetitimer(2)
sourceelixir.bootlin.com

Registers

registervalue
r10102, the syscall number
r0int which
r1struct itimerval *value
r0the return value

Then run swint1 to enter the kernel.

The kernel uses r1 to signal an error.

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

Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/getitimer?kernel=all