2005-04-21 16:53:53 +02:00
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
int sys_svrctl(int proc, int request, int priv, vir_bytes argp)
|
|
|
|
{
|
|
|
|
message m;
|
|
|
|
|
2006-03-03 10:44:55 +01:00
|
|
|
m.CTL_ENDPT = proc;
|
2005-04-21 16:53:53 +02:00
|
|
|
m.CTL_REQUEST = request;
|
|
|
|
m.CTL_MM_PRIV = priv;
|
|
|
|
m.CTL_ARG_PTR = (char *) argp;
|
|
|
|
|
2005-07-21 20:37:19 +02:00
|
|
|
return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
|
2005-04-21 16:53:53 +02:00
|
|
|
}
|