syscall.sh / sparc / sched_setparam
sched_setparam
set and get scheduling parameters
sys_sched_setparam(pid_t pid, struct sched_param *param)
| number | 241 (0xf1) |
|---|---|
| abi | common |
| entry point | sys_sched_setparam |
| since | Linux 5.0 |
| man page | sched_setparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 241, the syscall number |
o0 | pid_t pid |
o1 | struct sched_param *param |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 142
- x86 154
- arm64 118
- arm 154
- riscv64 118
- x32 1073741966
- loongarch64 118
- ppc64 154
- ppc 154
- s390x 154
- mips64 5139
- mipsn32 6139
- mipso32 4158
- alpha 330
- arc 118
- csky 118
- hexagon 118
- m68k 154
- microblaze 154
- nios2 118
- openrisc 118
- parisc 154
- sh 154
- sparc64 241
- xtensa 212
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/sched_setparam