source: trunk/minix/lib/syslib/sys_vm_map.c@ 10

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

Minix 3.1.2a

File size: 581 bytes
Line 
1#include "syslib.h"
2
3/*===========================================================================*
4 * sys_vm_map *
5 *===========================================================================*/
6PUBLIC int sys_vm_map(proc_nr, do_map, base, size, offset)
7int proc_nr;
8int do_map;
9phys_bytes base;
10phys_bytes size;
11phys_bytes offset;
12{
13 message m;
14 int result;
15
16 m.m4_l1= proc_nr;
17 m.m4_l2= do_map;
18 m.m4_l3= base;
19 m.m4_l4= size;
20 m.m4_l5= offset;
21
22 result = _taskcall(SYSTASK, SYS_VM_MAP, &m);
23 return(result);
24}
25
Note: See TracBrowser for help on using the repository browser.