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.c195 void *heap_base = NULL; in malloc_prepare() local
202 heap_base = k_mem_map(heap_size, K_MEM_PERM_RW); in malloc_prepare()
203 __ASSERT(heap_base != NULL, in malloc_prepare()
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()
231 z_malloc_partition.start = POINTER_TO_UINT(heap_base); in malloc_prepare()
236 sys_heap_init(&z_malloc_heap, heap_base, heap_size); in malloc_prepare()
/Zephyr-latest/lib/libc/newlib/
Dlibc-hooks.c52 LIBC_BSS static unsigned char *heap_base; variable
55 #define HEAP_BASE heap_base
73 heap_base[CONFIG_NEWLIB_LIBC_ALIGNED_HEAP_SIZE]; in __aligned()
75 #define HEAP_BASE heap_base
121 heap_base = k_mem_map(max_heap_size, K_MEM_PERM_RW);
122 __ASSERT(heap_base != NULL,