diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-28 16:58:41 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-28 16:58:41 +0000 |
commit | 3cf2caaacb01da3d22808cf8057592e1aa94121d (patch) | |
tree | ff8d80c354f2743ab6c2f57abaea9f1467dcf9bd /xen/include/xen/mm.h | |
parent | ad4292993b15b6076dc5a85b098d2e3bb8f47585 (diff) | |
download | xen-3cf2caaacb01da3d22808cf8057592e1aa94121d.tar.gz xen-3cf2caaacb01da3d22808cf8057592e1aa94121d.tar.bz2 xen-3cf2caaacb01da3d22808cf8057592e1aa94121d.zip |
Allow memflags to be specified to alloc_xenheap_pages().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/mm.h')
-rw-r--r-- | xen/include/xen/mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/mm.h b/xen/include/xen/mm.h index a982609f55..0f0726b1f8 100644 --- a/xen/include/xen/mm.h +++ b/xen/include/xen/mm.h @@ -45,9 +45,9 @@ void end_boot_allocator(void); /* Xen suballocator. These functions are interrupt-safe. */ void init_xenheap_pages(paddr_t ps, paddr_t pe); -void *alloc_xenheap_pages(unsigned int order); +void *alloc_xenheap_pages(unsigned int order, unsigned int memflags); void free_xenheap_pages(void *v, unsigned int order); -#define alloc_xenheap_page() (alloc_xenheap_pages(0)) +#define alloc_xenheap_page() (alloc_xenheap_pages(0,0)) #define free_xenheap_page(v) (free_xenheap_pages(v,0)) /* Domain suballocator. These functions are *not* interrupt-safe.*/ |