VM: full munmap
[minix.git] / lib / libsys / sys_schedctl.c
blob97ff4832c18648a64e5f60d52afa940e5d221b5b
1 #include "syslib.h"
3 int sys_schedctl(unsigned flags,
4 endpoint_t proc_ep,
5 int priority,
6 int quantum,
7 int cpu)
9 message m;
11 m.SCHEDCTL_FLAGS = (int) flags;
12 m.SCHEDCTL_ENDPOINT = proc_ep;
13 m.SCHEDCTL_PRIORITY = priority;
14 m.SCHEDCTL_QUANTUM = quantum;
15 m.SCHEDCTL_CPU = cpu;
16 return(_kernel_call(SYS_SCHEDCTL, &m));