2009-09-21 16:42:58 +02:00
|
|
|
|
|
|
|
#include "syslib.h"
|
|
|
|
|
2013-11-03 22:33:44 +01:00
|
|
|
#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;
|
|
|
|
|
2013-11-03 22:33:44 +01:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|