This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Best way to hook in a proprietry memory allocator class
- From: "Paul D. DeRocco" <pderocco at ix dot netcom dot com>
- To: "eCos Discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 5 Apr 2007 21:19:08 -0700
- Subject: [ECOS] Best way to hook in a proprietry memory allocator class
I need to write my own memory manager, because I have an application in
which I need to associate additional information with each allocated object.
I can see how various existing memory allocator types are implemented in
packages/services/memalloc. I can also see that I could hook in my own, by
hacking the memalloc.cdl file. Is this the correct way to do it, or is there
provision somewhere for hooking in an application-supplied memory allocator
without butchering any files that are part of the official distribution?
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco@ix.netcom.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss