Last change
on this file since 10 was 9, checked in by Mattia Monga, 14 years ago |
Minix 3.1.2a
|
-
Property svn:executable
set to
*
|
File size:
341 bytes
|
Rev | Line | |
---|
[9] | 1 | #include "syslib.h"
|
---|
| 2 |
|
---|
| 3 | PUBLIC int sys_newmap(proc, ptr)
|
---|
| 4 | int proc; /* process whose map is to be changed */
|
---|
| 5 | struct 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.