From ad756b797c78c3092b93a556907acbc4d0411ee8 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Tue, 24 Nov 2026 20:25:30 +0800 Subject: [PATCH] arch/sim: give the custom heap static its own name Rename the simulator heap static to g_sim_heap. The generic name g_heap is easy to confuse with other heaps when debugging or when reading a combined symbol dump. Signed-off-by: anjiahao --- arch/sim/src/sim/sim_ummheap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/sim/sim_ummheap.c b/arch/sim/src/sim/sim_ummheap.c index 65e5e56279051..c670cb1522cf3 100644 --- a/arch/sim/src/sim/sim_ummheap.c +++ b/arch/sim/src/sim/sim_ummheap.c @@ -181,13 +181,13 @@ static void delay_free(struct mm_heap_s *heap, void *mem, bool delay); * Private Data ****************************************************************************/ -static struct mm_heap_s g_heap; +static struct mm_heap_s g_sim_heap; /**************************************************************************** * Public Data ****************************************************************************/ -struct mm_heap_s *g_mmheap = &g_heap; +struct mm_heap_s *g_mmheap = &g_sim_heap; #ifdef CONFIG_MM_RECORD_SEQNO unsigned long g_mm_seqno;