4 extern char __iheap_start;
5 static char *top = &__iheap_start;
7 int iwram_brk(void *addr)
9 if((char*)addr < &__iheap_start) {
10 addr = &__iheap_start;
14 panic(get_pc(), "iwram_brk (%p) >= sp", addr);
20 void *iwram_sbrk(intptr_t delta)
23 iwram_brk(top + delta);