source:
trunk/minix/lib/syslib/sys_svrctl.c@
22
Last change on this file since 22 was 9, checked in by , 14 years ago | |
---|---|
File size: 256 bytes |
Line | |
---|---|
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.