aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/mm.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-03-13 07:37:24 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-03-13 07:37:24 +0000
commitb8fb8d5f775d5409f6683ed8c1956cf80004e26e (patch)
tree803d56735dbe467563030ffc65ab496568553041 /extras/mini-os/include/mm.h
parentcde518aa7137afa61849403736f3e4b62e00fe1f (diff)
downloadxen-b8fb8d5f775d5409f6683ed8c1956cf80004e26e.tar.gz
xen-b8fb8d5f775d5409f6683ed8c1956cf80004e26e.tar.bz2
xen-b8fb8d5f775d5409f6683ed8c1956cf80004e26e.zip
minios: allow to allocate machine contiguous pages
This is a port of XenLinux xen_alloc_contig_memory() to mini-os. A sufficiently privileged mini-os guest can exchange a small number of its pages with machine contiguous pages. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@netronome.com>
Diffstat (limited to 'extras/mini-os/include/mm.h')
-rw-r--r--extras/mini-os/include/mm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/include/mm.h b/extras/mini-os/include/mm.h
index c9636926ae..18622d8542 100644
--- a/extras/mini-os/include/mm.h
+++ b/extras/mini-os/include/mm.h
@@ -72,6 +72,7 @@ void do_map_frames(unsigned long addr,
unsigned long *f, unsigned long n, unsigned long stride,
unsigned long increment, domid_t id, int may_fail, unsigned long prot);
int unmap_frames(unsigned long va, unsigned long num_frames);
+unsigned long alloc_contig_pages(int order, unsigned int addr_bits);
#ifdef HAVE_LIBC
extern unsigned long heap, brk, heap_mapped, heap_end;
#endif