minix/lib/syslib/sys_privctl.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
232 B
C

#include "syslib.h"
int sys_privctl(int proc, int request, int i, void *p)
{
message m;
m.CTL_ENDPT = proc;
m.CTL_REQUEST = request;
m.CTL_MM_PRIV = i;
m.CTL_ARG_PTR = p;
return _taskcall(SYSTASK, SYS_PRIVCTL, &m);
}