8000 minix/lib/syslib/sys_newmap.c at v3.1.2a · devinblood/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
14 lines (11 loc) · 341 Bytes

sys_newmap.c

File metadata and controls

executable file
·
14 lines (11 loc) · 341 Bytes
#include "syslib.h"
PUBLIC int sys_newmap(proc, ptr)
int proc; /* process whose map is to be changed */
struct mem_map *ptr; /* pointer to new map */
{
/* A process has been assigned a new memory map. Tell the kernel. */
message m;
m.PR_ENDPT = proc;
m.PR_MEM_PTR = (char *) ptr;
return(_taskcall(SYSTASK, SYS_NEWMAP, &m));
}
0