This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Memory pools?
- From: Savin Zlobec <savin at elatec dot si>
- To: jnewlin at rawbw dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 08 Jan 2004 13:35:58 +0100
- Subject: [ECOS] Re: Memory pools?
John Newlin wrote:
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?
There is support for fixed and variable memory pools, but it seems that
the documentation got lost in 2.0 and latest ecos docs.
You can find it in 1.3 docs -
http://ecos.sourceware.org/docs-1.3.1/ref/ecos-ref.9.html#36601
savin
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss