This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: heap management question
- To: aacquaviva at deis dot unibo dot it
- Subject: Re: [ECOS] heap management question
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Sat, 03 Feb 2001 03:53:39 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- References: <200102012339.AAA21943@promet1.deis.unibo.it>
"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