source:
trunk/minix/lib/syslib/sys_svrctl.c@
10
Last change on this file since 10 was 9, checked in by , 14 years ago | |
---|---|
File size: 256 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include "syslib.h" |
2 | ||
3 | int sys_svrctl(int proc, int request, int priv, vir_bytes argp) | |
4 | { | |
5 | message m; | |
6 | ||
7 | m.CTL_ENDPT = proc; | |
8 | m.CTL_REQUEST = request; | |
9 | m.CTL_MM_PRIV = priv; | |
10 | m.CTL_ARG_PTR = (char *) argp; | |
11 | ||
12 | return _taskcall(SYSTASK, SYS_PRIVCTL, &m); | |
13 | } |
Note:
See TracBrowser
for help on using the repository browser.