sched_setattr on blackfin
set and get scheduling policy and attributes
sys_sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags)
| number | 385 (0x181) |
|---|---|
| abi | common |
| entry point | sys_sched_setattr |
| since | Linux 4.1 |
| man page | sched_setattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 385, the syscall number |
R0 | pid_t pid |
R1 | struct sched_attr *attr |
R2 | unsigned int flags |
R0 | the return value |
Then run excpt 0 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 314
- x86 351
- arm64 274
- arm 380
- riscv64 274
- ia32 351
- x32 1073742138
- loongarch64 274
- ppc64 355
- ppc 355
- s390x 345
- mips64 5309
- mipsn32 6313
- mipso32 4349
- alpha 508
- arc 274
- cris 352, removed in 4.17
- csky 274
- hexagon 274
- ia64 1336, removed in 6.7
- m68k 349
- metag 274, removed in 4.17
- microblaze 381
- nds32 274, removed in 5.18
- nios2 274
- openrisc 274
- parisc 334
- score 274, removed in 4.17
- sh 370
- sparc 343
- sparc64 343
- tilegx 274, removed in 4.17
- tilepro 274, removed in 4.17
- xtensa 334
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/sched_setattr?kernel=all