source: trunk/minix/lib/syslib/sys_newmap.c@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

  • Property svn:executable set to *
File size: 341 bytes
Line 
1#include "syslib.h"
2
3PUBLIC int sys_newmap(proc, ptr)
4int proc; /* process whose map is to be changed */
5struct mem_map *ptr; /* pointer to new map */
6{
7/* A process has been assigned a new memory map. Tell the kernel. */
8
9 message m;
10
11 m.PR_ENDPT = proc;
12 m.PR_MEM_PTR = (char *) ptr;
13 return(_taskcall(SYSTASK, SYS_NEWMAP, &m));
14}
Note: See TracBrowser for help on using the repository browser.