minix/lib/syslib/sys_svrctl.c
Ben Gras 5d7f5fccf5 . rename message fields to endpoint variants
. remove or optionalify some pci debugging stuff
2006-03-03 09:44:55 +00:00

13 lines
256 B
C

#include "syslib.h"
int sys_svrctl(int proc, int request, int priv, vir_bytes argp)
{
message m;
m.CTL_ENDPT = proc;
m.CTL_REQUEST = request;
m.CTL_MM_PRIV = priv;
m.CTL_ARG_PTR = (char *) argp;
return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
}