Browse Source

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

- to allow easier identification when doing operations over mem block
Daniel-Constantin Mierla 11 years ago
parent
commit
ffa1beb6bb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      mem/meminfo.h

+ 2 - 0
mem/meminfo.h

@@ -35,6 +35,8 @@
 #ifndef meminfo_h
 #ifndef meminfo_h
 #define meminfo_h
 #define meminfo_h
 
 
+#define MEM_TYPE_SHM	0
+#define MEM_TYPE_PKG	1
 
 
 /** Memory information structure */
 /** Memory information structure */
 struct mem_info{
 struct mem_info{