syscall.sh / riscv64 / sched_get_priority_min
sched_get_priority_min
get static priority range
sys_sched_get_priority_min(int policy)
| number | 126 (0x7e) |
|---|---|
| abi | common |
| entry point | sys_sched_get_priority_min |
| since | Linux 4.15 |
| man page | sched_get_priority_min(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 126, the syscall number |
a0 | int policy |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 147
- x86 160
- arm64 126
- arm 160
- x32 1073741971
- loongarch64 126
- ppc64 160
- ppc 160
- s390x 160
- mips64 5144
- mipsn32 6144
- mipso32 4164
- alpha 336
- arc 126
- csky 126
- hexagon 126
- m68k 160
- microblaze 160
- nios2 126
- openrisc 126
- parisc 160
- sh 160
- sparc 247
- sparc64 247
- xtensa 217
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/sched_get_priority_min