[ECOS] allocated memory

NavEcos ecos@navosha.com
Thu Oct 31 07:41:00 GMT 2002


On Thursday 31 October 2002 07:30 am, NavEcos wrote:
> 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

@#$@#$

alloc2memdq does it.  Never fails, ask a question, find the answer.

Sorry,
-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



More information about the Ecos-discuss mailing list