From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: aacquaviva@deis.unibo.it Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] heap management question Date: Fri, 02 Feb 2001 19:59:00 -0000 Message-id: <3A7B80C3.F629B25A@redhat.com> References: <200102012339.AAA21943@promet1.deis.unibo.it> X-SW-Source: 2001-02/msg00038.html "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