sched_get_priority_max on m32r

get static priority range

sys_sched_get_priority_max(int policy)
number159 (0x9f)
abicommon
entry pointsys_sched_get_priority_max
sinceLinux 3.3 or earlier (3.3 is the first release scanned for m32r)
man pagesched_get_priority_max(2)
sourceelixir.bootlin.com

Registers

registervalue
r7159, the syscall number
r0int policy
r0the return value

Then run trap #2 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/m32r/sched_get_priority_max?kernel=all