This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

allocated memory


I want to determine the size of a block of memory that was allocated from 
Cyg_Mempool_dlmalloc or Cyg_Mempool_Variable by inspecting the pointer only.  
How do I do this?

I need this capability because I am working on some enhancements that will 
allow padding on the beginning and end of a block of dynamically allocated 
memory.  I'm nearly finished, I just need this last piece of the puzzle.

Thanks,
-Rich


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]