vm: remove stack handling for signals
. moved to the kernel as the handling was only reading it; the kernel may as well write it too
This commit is contained in:
@@ -82,7 +82,6 @@ SRCS= \
|
||||
vm_info.c \
|
||||
vm_map_phys.c \
|
||||
vm_notify_sig.c \
|
||||
vm_push_sig.c \
|
||||
vm_umap.c \
|
||||
vm_yield_get_block.c \
|
||||
vm_procctl.c \
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
|
||||
#include "syslib.h"
|
||||
|
||||
#include <minix/vm.h>
|
||||
|
||||
/*===========================================================================*
|
||||
* vm_push_sig *
|
||||
*===========================================================================*/
|
||||
int vm_push_sig(endpoint_t ep, vir_bytes *old_sp)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user