setpriority on m32r
get/set program scheduling priority
sys_setpriority(int which, int who, int niceval)
| number | 97 (0x61) |
|---|---|
| abi | common |
| entry point | sys_setpriority |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | setpriority(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 97, the syscall number |
r0 | int which |
r1 | int who |
r2 | int niceval |
r0 | the return value |
Then run trap #2 to enter the kernel.
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 141
- x86 97
- arm64 140
- arm 97
- riscv64 140
- ia32 97
- x32 1073741965
- loongarch64 140
- ppc64 97
- ppc 97
- s390x 97
- mips64 5138
- mipsn32 6138
- mipso32 4097
- alpha 96
- arc 140
- blackfin 97, removed in 4.17
- cris 97, removed in 4.17
- csky 140
- frv 97, removed in 4.17
- hexagon 140
- ia64 1102, removed in 6.7
- m68k 97
- metag 140, removed in 4.17
- microblaze 97
- mn10300 97, removed in 4.17
- nds32 140, removed in 5.18
- nios2 140
- openrisc 140
- parisc 97
- score 140, removed in 4.17
- sh 97
- sparc 96
- sparc64 96
- tilegx 140, removed in 4.17
- tilepro 140, removed in 4.17
- xtensa 133
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/setpriority?kernel=all