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]

Re: heap management question


"Andrea Acquaviva - DEIS-micrel (93785)" wrote:
> 
> I have a trivial question about heap management in eCos
> (I use an assabet board).
> 
> The heap area starts from the top of memory (RAM) and
> go down so its size
> matches the value configured in ecos.ecc
> (CYGNUM_LIBC_MALLOC_MEMPOOL_SIZE), right?

I take it you are referring to v1.3.1 here. In which case the heap is just
a static array defined somewhere in memory, probably not at the top.

The version in anonymous CVS is more what you would expect and allows the
heap to use all of unallocated memory.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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