This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
allocated memory
- From: NavEcos <ecos at navosha dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 31 Oct 2002 07:30:20 +0000
- Subject: [ECOS] allocated memory
- Organization: Navosha
- Reply-to: ecos at navosha dot com
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