panic() cleanup.
[minix.git] / lib / libsys / sys_newmap.c
blobaf1416b72c6ffeccf71c38c6f91576957da939b2
1 #include "syslib.h"
3 PUBLIC int sys_newmap(proc_ep, ptr)
4 endpoint_t proc_ep; /* process whose map is to be changed */
5 struct mem_map *ptr; /* pointer to new map */
7 /* A process has been assigned a new memory map. Tell the kernel. */
9 message m;
11 m.PR_ENDPT = proc_ep;
12 m.PR_MEM_PTR = (char *) ptr;
13 return(_kernel_call(SYS_NEWMAP, &m));