X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fmm.h;h=29c0738333a41eb258b1363e749424b4fbeb7719;hb=4e43946f01f687361197dc9571b7df02ae20de30;hp=744c56775c2d5bc6048429df3dbb87c8b5868741;hpb=9b50e169b294dba9c1e36ad15d5ff85898c0f21e;p=palacios.git diff --git a/linux_module/mm.h b/linux_module/mm.h index 744c567..29c0738 100644 --- a/linux_module/mm.h +++ b/linux_module/mm.h @@ -7,7 +7,7 @@ -uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment, int node_id); +uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment, int node_id, int (*filter_func)(void *paddr, void *filter_state), void *filter_state); void free_palacios_pg(uintptr_t base_addr); void free_palacios_pgs(uintptr_t base_addr, u64 num_pages); @@ -16,7 +16,7 @@ u64 get_palacios_num_pages(void); int add_palacios_memory(struct v3_mem_region *reg); -int remove_palacios_memory(uintptr_t base_addr); +int remove_palacios_memory(struct v3_mem_region *reg); int palacios_init_mm( void ); int palacios_deinit_mm( void );