1433d6423SLionel Sambuc #include "syslib.h" 2433d6423SLionel Sambuc 3*366d18b2SDavid van Moolenbroek int sys_schedule(endpoint_t proc_ep,int priority,int quantum,int cpu,int niced)4*366d18b2SDavid van Moolenbroeksys_schedule(endpoint_t proc_ep, int priority, int quantum, int cpu, int niced) 5433d6423SLionel Sambuc { 6433d6423SLionel Sambuc message m; 7433d6423SLionel Sambuc 8433d6423SLionel Sambuc m.m_lsys_krn_schedule.endpoint = proc_ep; 9433d6423SLionel Sambuc m.m_lsys_krn_schedule.priority = priority; 10433d6423SLionel Sambuc m.m_lsys_krn_schedule.quantum = quantum; 11433d6423SLionel Sambuc m.m_lsys_krn_schedule.cpu = cpu; 12*366d18b2SDavid van Moolenbroek m.m_lsys_krn_schedule.niced = niced; 13433d6423SLionel Sambuc return(_kernel_call(SYS_SCHEDULE, &m)); 14433d6423SLionel Sambuc } 15