don't print SYSTEM stacktrace on exceptions as it's not scheduled any more.
[minix.git] / lib / libsys / vm_exec_newmem.c
blob3f1394771f083cf6a6b3428e87481cfcbbe7ba15
2 #include "syslib.h"
4 #include <minix/vm.h>
6 /*===========================================================================*
7 * vm_exec_newmem *
8 *===========================================================================*/
9 PUBLIC int vm_exec_newmem(endpoint_t ep, struct exec_newmem *args,
10 int argssize, char **ret_stack_top, int *ret_flags)
12 message m;
13 int result;
15 m.VMEN_ENDPOINT = ep;
16 m.VMEN_ARGSPTR = (void *) args;
17 m.VMEN_ARGSSIZE = argssize;
19 result = _taskcall(VM_PROC_NR, VM_EXEC_NEWMEM, &m);
21 *ret_stack_top = m.VMEN_STACK_TOP;
22 *ret_flags = m.VMEN_FLAGS;
24 return result;