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:
wangmingrong1 2025-04-28 12:04:38 +08:00 committed by Xiang Xiao
parent a98f3f2417
commit e6f77d7f14

View file

@ -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