X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=linux_module%2Fbuddy.h;h=163c5a82ffaf0f218b62c7eb5e5a5b48470b1cb4;hp=e0ef86dfd1f79ec1d27ed07dbeddeea2885484c6;hb=b58fe2254858e3ecc94be5d86f2a93f2cfe0a0d5;hpb=659151a0b655c619f3acbb98a45e9eeb8002a4b3 diff --git a/linux_module/buddy.h b/linux_module/buddy.h index e0ef86d..163c5a8 100644 --- a/linux_module/buddy.h +++ b/linux_module/buddy.h @@ -92,14 +92,13 @@ buddy_remove_pool(struct buddy_memzone * zone, void **user_metadata); -// constraint=0 => no constraints, otherwise bitmask of: -#define LWK_BUDDY_CONSTRAINT_4GB 0x1 /* Allocate pages, returns physical address */ extern uintptr_t buddy_alloc(struct buddy_memzone * zone, unsigned long order, - int constraints); + int (*filter_func)(void *paddr, void *filter_state), + void *filter_state); /* Free a physical address */