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: 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


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