getpriority on tilepro
get/set program scheduling priority
sys_getpriority(int which, int who)
| number | 141 (0x8d) |
|---|---|
| abi | common |
| entry point | sys_getpriority |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | getpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 141, the syscall number |
r0 | int which |
r1 | int who |
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 140
- x86 96
- arm64 141
- arm 96
- riscv64 141
- ia32 96
- x32 1073741964
- loongarch64 141
- ppc64 96
- ppc 96
- s390x 96
- mips64 5137
- mipsn32 6137
- mipso32 4096
- alpha 100
- arc 141
- blackfin 96, removed in 4.17
- cris 96, removed in 4.17
- csky 141
- frv 96, removed in 4.17
- hexagon 141
- ia64 1101, removed in 6.7
- m32r 96, removed in 4.17
- m68k 96
- metag 141, removed in 4.17
- microblaze 96
- mn10300 96, removed in 4.17
- nds32 141, removed in 5.18
- nios2 141
- openrisc 141
- parisc 96
- score 141, removed in 4.17
- sh 96
- sparc 100
- sparc64 100
- tilegx 141, removed in 4.17
- xtensa 132
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/getpriority?kernel=all