Searched refs:heapbase (Results 1 – 2 of 2) sorted by relevance
36 static void *heapbase; variable42 heapbase = (void *)(((uintptr_t)base + MALLOCALIGN_MASK) & in setheap()44 maxheap = (char *)top - (char *)heapbase; in setheap()52 if (heapbase == 0) in sbrk()56 ret = (char *)heapbase + heapsize; in sbrk()
327 void *heapbase; in main() local344 heapbase = host_getmem(heapsize); in main()345 setheap(heapbase, heapbase + heapsize); in main()