diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:42 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:42 +0000 |
commit | 4eb8e8dc041e4525c561553a970a4c7adf6bba30 (patch) | |
tree | 03bf759c23e8eff141e5a0f0960183eb68bf53b1 /extras/mini-os/include/mm.h | |
parent | c1ea56152af43af8fa0d6ead7ab22ebd065e63ae (diff) | |
download | xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.tar.gz xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.tar.bz2 xen-4eb8e8dc041e4525c561553a970a4c7adf6bba30.zip |
minios: extend map_frames into being able to map a series of
contiguous frames, or the same frame several times, aligned, from
another domain, with specific protection, and with potential
failures.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/mm.h')
-rw-r--r-- | extras/mini-os/include/mm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/mini-os/include/mm.h b/extras/mini-os/include/mm.h index a9c0f2c181..4319fa2640 100644 --- a/extras/mini-os/include/mm.h +++ b/extras/mini-os/include/mm.h @@ -57,6 +57,9 @@ void arch_init_demand_mapping_area(unsigned long max_pfn); void arch_init_mm(unsigned long* start_pfn_p, unsigned long* max_pfn_p); void arch_init_p2m(unsigned long max_pfn_p); -void *map_frames(unsigned long *f, unsigned long n); +/* map f[i*stride]+i*increment for i in 0..n-1, aligned on alignment pages */ +void *map_frames_ex(unsigned long *f, unsigned long n, unsigned long stride, + unsigned long increment, unsigned long alignment, domid_t id, + int may_fail, unsigned long prot); #endif /* _MM_H_ */ |