minix/lib/libsys/vm_notify_sig.c

23 lines
546 B
C
Raw Normal View History

2009-09-21 16:42:58 +02:00
#include "syslib.h"
#include <string.h>
2009-09-21 16:42:58 +02:00
#include <minix/vm.h>
/*===========================================================================*
* vm_notify_sig *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int vm_notify_sig(endpoint_t ep, endpoint_t ipc_ep)
2009-09-21 16:42:58 +02:00
{
message m;
int result;
memset(&m, 0, sizeof(m));
2009-09-21 16:42:58 +02:00
m.VM_NOTIFY_SIG_ENDPOINT = ep;
m.VM_NOTIFY_SIG_IPC = ipc_ep;
result = _taskcall(VM_PROC_NR, VM_NOTIFY_SIG, &m);
return(result);
}