1 |
/* Direct store mapping |
/* Direct store mapping |
2 |
|
|
3 |
Copyright (C) 1997 Free Software Foundation, Inc. |
Copyright (C) 1997 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.ai.mit.edu> |
Written by Miles Bader <miles@gnu.org> |
5 |
This task is part of the GNU Hurd. |
|
6 |
|
This file is part of the GNU Hurd. |
7 |
|
|
8 |
The GNU Hurd is free software; you can redistribute it and/or |
The GNU Hurd is free software; you can redistribute it and/or |
9 |
modify it under the terms of the GNU General Public License as |
modify it under the terms of the GNU General Public License as |
28 |
fail because store contains non-contiguous regions on the underlying |
fail because store contains non-contiguous regions on the underlying |
29 |
object. In such a case you can try calling some of the routines below to |
object. In such a case you can try calling some of the routines below to |
30 |
get a pager. */ |
get a pager. */ |
31 |
error_t store_map (const struct store *store, vm_prot_t prot, |
error_t |
32 |
mach_port_t *memobj) |
store_map (const struct store *store, vm_prot_t prot, |
33 |
|
mach_port_t *memobj) |
34 |
{ |
{ |
35 |
error_t (*map) (const struct store *store, vm_prot_t prot, |
error_t (*map) (const struct store *store, vm_prot_t prot, |
36 |
mach_port_t *memobj) = |
mach_port_t *memobj) = |