X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fmm.h;h=b758b72a3f2b59a9fa4121c501aca7e1c9ff9030;hb=ce0f119828348c3c57a00c4aa268a8a223ccd7f8;hp=abc8857f2e701f09c28147f234c0d7643b04cc22;hpb=276cfa264720edddc1677e35c6a300596965de7d;p=palacios.git diff --git a/linux_module/mm.h b/linux_module/mm.h index abc8857..b758b72 100644 --- a/linux_module/mm.h +++ b/linux_module/mm.h @@ -7,13 +7,16 @@ -uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment); +uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment, int node_id, int constraints); void free_palacios_pg(uintptr_t base_addr); void free_palacios_pgs(uintptr_t base_addr, u64 num_pages); +uintptr_t get_palacios_base_addr(void); +u64 get_palacios_num_pages(void); -int add_palacios_memory(uintptr_t base_addr, u64 num_pages); -int remove_palacios_memory(uintptr_t base_addr, u64 num_pages); + +int add_palacios_memory(struct v3_mem_region *reg); +int remove_palacios_memory(struct v3_mem_region *reg); int palacios_init_mm( void ); int palacios_deinit_mm( void );