syscall.sh / microblaze / sched_setscheduler
sched_setscheduler
set and get scheduling policy/parameters
sys_sched_setscheduler(pid_t pid, int policy, struct sched_param *param)
| number | 156 (0x9c) |
|---|---|
| abi | common |
| entry point | sys_sched_setscheduler |
| since | Linux 5.0 |
| man page | sched_setscheduler(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 156, the syscall number |
r5 | pid_t pid |
r6 | int policy |
r7 | struct sched_param *param |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
- x64 144
- x86 156
- arm64 119
- arm 156
- riscv64 119
- x32 1073741968
- loongarch64 119
- ppc64 156
- ppc 156
- s390x 156
- mips64 5141
- mipsn32 6141
- mipso32 4160
- alpha 332
- arc 119
- csky 119
- hexagon 119
- m68k 156
- nios2 119
- openrisc 119
- parisc 156
- sh 156
- sparc 243
- sparc64 243
- xtensa 214
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/sched_setscheduler