11 lines
224 B
C
11 lines
224 B
C
#include <lib.h>
|
|
#define vm_set_priv _vm_set_priv
|
|
#include <unistd.h>
|
|
|
|
PUBLIC int vm_set_priv(int nr, void *buf)
|
|
{
|
|
message m;
|
|
m.VM_RS_NR = nr;
|
|
m.VM_RS_BUF = (long) buf;
|
|
return _syscall(VM_PROC_NR, VM_RS_SET_PRIV, &m);
|
|
}
|