sweep through entire page table to free up intermediate tables
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / valloc.h
1 #ifndef __LUNAIX_VALLOC_H
2 #define __LUNAIX_VALLOC_H
3
4 #include <lunaix/compiler.h>
5
6 void*
7 valloc(unsigned int size);
8
9 void*
10 vzalloc(unsigned int size);
11
12 void*
13 vcalloc(unsigned int size, unsigned int count);
14
15 void
16 vfree(void* ptr);
17
18 void
19 vfree_safe(void* ptr);
20
21 void*
22 valloc_dma(unsigned int size);
23
24 void*
25 vzalloc_dma(unsigned int size);
26
27 void
28 vfree_dma(void* ptr);
29
30 void
31 valloc_init();
32
33 extern void 
34 valloc_ensure_valid(void* ptr);
35
36 #endif /* __LUNAIX_VALLOC_H */