Home
last modified time | relevance | path

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

/hal_microchip-latest/mpfs/mpfs_hal/startup_gcc/
Dnewlib_stubs.c264 static char *heap_end; in _sbrk() local
280 if (heap_end == NULL) in _sbrk()
282 heap_end = &_end; in _sbrk()
285 prev_heap_end = heap_end; in _sbrk()
291 if(heap_end < stack_ptr) in _sbrk()
298 if (heap_end + incr > stack_ptr) in _sbrk()
321 if(heap_end + incr > top_of_heap) in _sbrk()
328 heap_end += incr; in _sbrk()
335 ASSERT(heap_end <= &__heap_end); in _sbrk()