2008-11-19 13:26:10 +01:00
|
|
|
|
|
|
|
#include "syslib.h"
|
|
|
|
|
|
|
|
#include <minix/vm.h>
|
|
|
|
|
|
|
|
/*===========================================================================*
|
|
|
|
* vm_push_sig *
|
|
|
|
*===========================================================================*/
|
2012-03-25 20:25:53 +02:00
|
|
|
int vm_push_sig(endpoint_t ep, vir_bytes *old_sp)
|
2008-11-19 13:26:10 +01:00
|
|
|
{
|
|
|
|
message m;
|
|
|
|
int result;
|
|
|
|
|
|
|
|
m.VMPS_ENDPOINT = ep;
|
|
|
|
result = _taskcall(VM_PROC_NR, VM_PUSH_SIG, &m);
|
|
|
|
*old_sp = (vir_bytes) m.VMPS_OLD_SP;
|
|
|
|
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|