IHK query free memory request and implementation

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2013-06-24 09:00:48 +09:00
parent 15ac1e246a
commit f9cb60ef33
4 changed files with 53 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ int ihk_mc_unregister_interrupt_handler(int vector,
enum ihk_mc_gv_type {
IHK_GV_IKC = 1,
IHK_GV_QUERY_FREE_MEM = 2
};
int ihk_mc_get_vector(enum ihk_mc_gv_type type);

View File

@@ -24,5 +24,6 @@ unsigned long ihk_pagealloc_alloc(void *__desc, int npages);
void ihk_pagealloc_reserve(void *desc, unsigned long start, unsigned long end);
void ihk_pagealloc_free(void *__desc, unsigned long address, int npages);
unsigned long ihk_pagealloc_count(void *__desc);
int ihk_pagealloc_query_free(void *__desc);
#endif