瀏覽代碼

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

- to allow easier identification when doing operations over mem block
Daniel-Constantin Mierla 11 年之前
父節點
當前提交
ffa1beb6bb
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mem/meminfo.h

+ 2 - 0
mem/meminfo.h

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