Browse code

core/mem: define internal types for pkg and shm pools

- to allow easier identification when doing operations over mem block

Daniel-Constantin Mierla authored on 03/05/2014 17:57:19
Showing 1 changed files
... ...
@@ -35,6 +35,8 @@
35 35
 #ifndef meminfo_h
36 36
 #define meminfo_h
37 37
 
38
+#define MEM_TYPE_SHM	0
39
+#define MEM_TYPE_PKG	1
38 40
 
39 41
 /** Memory information structure */
40 42
 struct mem_info{