Home
last modified time | relevance | path

Searched refs:HEAP_BASE (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/lib/libc/common/source/stdlib/
Dmalloc.c83 # define HEAP_BASE POINTER_TO_UINT(malloc_arena) macro
102 # define HEAP_BASE ROUND_UP(USED_RAM_END_ADDR, HEAP_ALIGN)
107 # define HEAP_SIZE ROUND_DOWN((POINTER_TO_UINT(_heap_sentry) - HEAP_BASE), HEAP_ALIGN)
110 ((size_t) HEAP_BASE - (size_t) CONFIG_SRAM_BASE_ADDRESS)), HEAP_ALIGN)
219 heap_base = UINT_TO_POINTER(ROUND_UP(HEAP_BASE, heap_size)); in malloc_prepare()
220 if (POINTER_TO_UINT(heap_base) + heap_size <= HEAP_BASE + HEAP_SIZE) { in malloc_prepare()
226 heap_base = UINT_TO_POINTER(HEAP_BASE); in malloc_prepare()
/Zephyr-latest/lib/libc/newlib/
Dlibc-hooks.c55 #define HEAP_BASE heap_base macro
75 #define HEAP_BASE heap_base macro
86 #define HEAP_BASE ROUND_UP(USED_RAM_END_ADDR, \
89 #define HEAP_BASE ROUND_UP(USED_RAM_END_ADDR, \
97 #define HEAP_BASE USED_RAM_END_ADDR
105 HEAP_BASE)
107 #define MAX_HEAP_SIZE (KB(CONFIG_SRAM_SIZE) - (HEAP_BASE - \
129 z_malloc_partition.start = (uintptr_t)HEAP_BASE;
308 ptr = ((char *)HEAP_BASE) + heap_sz; in _sbrk()