r149: introduced debugging flags on CLI

This commit is contained in:
Heng Li
2017-07-03 11:02:32 -04:00
parent 2e4fd9f1d0
commit 53c4bf5e4f
5 changed files with 15 additions and 6 deletions
+3
View File
@@ -8,6 +8,9 @@
#define MM_PARENT_UNSET (-1)
#define MM_PARENT_TMP_PRI (-2)
#define MM_DBG_NO_KALLOC 0x1
#define MM_DBG_PRINT_QNAME 0x2
#ifndef kroundup32
#define kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x))
#endif