sched_getattr on blackfin

set and get scheduling policy and attributes

sys_sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags)
number386 (0x182)
abicommon
entry pointsys_sched_getattr
sinceLinux 4.1
man pagesched_getattr(2)
sourceelixir.bootlin.com

Registers

registervalue
P0386, the syscall number
R0pid_t pid
R1struct sched_attr *attr
R2unsigned int size
R3unsigned int flags
R0the 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

Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/sched_getattr?kernel=all