1 #include "syslib.h" 2 3 #include <unistd.h> 4 #include <string.h> 5 6 int vm_set_priv(endpoint_t ep,void * buf,int sys_proc)7vm_set_priv(endpoint_t ep, void *buf, int sys_proc) 8 { 9 message m; 10 11 memset(&m, 0, sizeof(m)); 12 m.VM_RS_NR = ep; 13 m.VM_RS_BUF = (long) buf; 14 m.VM_RS_SYS = sys_proc; 15 16 return _taskcall(VM_PROC_NR, VM_RS_SET_PRIV, &m); 17 } 18