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]

Re: allocated memory


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


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