Rev | Line | |
---|
[9] | 1 | #include "syslib.h"
|
---|
| 2 |
|
---|
| 3 | /*===========================================================================*
|
---|
| 4 | * sys_vm_map *
|
---|
| 5 | *===========================================================================*/
|
---|
| 6 | PUBLIC int sys_vm_map(proc_nr, do_map, base, size, offset)
|
---|
| 7 | int proc_nr;
|
---|
| 8 | int do_map;
|
---|
| 9 | phys_bytes base;
|
---|
| 10 | phys_bytes size;
|
---|
| 11 | phys_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.