mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
mempool: Use the same magic with mmheap
mmheap magic: #define MM_INIT_MAGIC 0xcc #define MM_ALLOC_MAGIC 0xaa #define MM_FREE_MAGIC 0x55 Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
a98f3f2417
commit
e6f77d7f14
@@ -41,8 +41,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_MM_BACKTRACE >= 0
|
||||
#define MEMPOOL_MAGIC_FREE 0xAAAAAAAA
|
||||
#define MEMPOOL_MAGIC_ALLOC 0x55555555
|
||||
#define MEMPOOL_MAGIC_FREE 0x55555555
|
||||
#define MEMPOOL_MAGIC_ALLOC 0xAAAAAAAA
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
|
||||
Reference in New Issue
Block a user