feat: device subsystem rework
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / valloc.h
1 #ifndef __LUNAIX_VALLOC_H
2 #define __LUNAIX_VALLOC_H
3
4 void*
5 valloc(unsigned int size);
6
7 void*
8 vzalloc(unsigned int size);
9
10 void*
11 vcalloc(unsigned int size, unsigned int count);
12
13 void
14 vfree(void* ptr);
15
16 void
17 vfree_safe(void* ptr);
18
19 void*
20 valloc_dma(unsigned int size);
21
22 void*
23 vzalloc_dma(unsigned int size);
24
25 void
26 vfree_dma(void* ptr);
27
28 void
29 valloc_init();
30
31 #endif /* __LUNAIX_VALLOC_H */