This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Memory pools?
- From: John Newlin <jnewlin at rawbw dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 07 Jan 2004 17:58:27 -0800
- Subject: [ECOS] Memory pools?
Is there a memory pool sub-allocator in ECOS?
Here's the deal, my chip has two memories in disjoint address space. A
large memory, and a small but low latency memory. Question is how to
present that to the programmer. In other OS's there were ways to alloc
a big chunk of memory and then sub allocate within that block to prevent
memory fragmentation. Is there a similiar mechanism in ecos, and I
could just fake it out with the addresses of my small memory?
Alternately is there a simple/free memory allocator I can use somewhere?
Thanks,
-john
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss