• init_mempool()
    Hai all, Is init_mempool() necessary to use malloc? how do we use init_mempool() ,when & where.Pls reply me. reg, yos
  • undefined reference to `init_mempool
    i am using Keil uVision3 + ADUC7026, i am trying to allocate #include <ADuC7026.h> #include "stdio.h" #include "stdlib.h" unsigned char memory_pool[0x400]; int main (void) { int *i; init_mempool...
  • How to malloc from the beginning of init_mempool.
    Hi, there, The malloc always allocate memory at the tail of the memory initialized by init_mempool(). How to make "malloc()" allocate memory from the beginning of the initialized memory? In details...
  • Unable to understand "init_mempool", "malloc", etc functions
    Hello, I am using Keil uVision3 V3.55 for Si-labs C8051F02X series. I am using "init_mempool" function, so that I can use the functions like "malloc", "free", etc. Here is my source code -- #include...
  • EC++ new() fails, init_mempool never called?
    In EcMain.cpp the extern void *operator new(size_t size) fails to allocate memory for a new object on its first invocation. I think that the problem is that _main() is never called, so init_mempool is...