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: configuring heap memory


Andrea Acquaviva wrote:
> 
> Hi all,
> I have two questions about heap memory. I work with a strongarm based
> board with 64MB of sdram.
> 
> 1 - how can I specify two heap memory sections heap1 , heap2?
> 2 - how can I change the starting address of heap memory? (not contigue
> to the bss section)
> 
> How must I change mlt files to do that?

You can use the Memory Layout Tool in the version 1 configuration tool. Or
you can edit the .ldi and .h files in the include/pkgconf directory. Define
a heap2 in exactly the same way (other than the address) as heap1 was
defined. Use the definition of heap1 to guide you in how to define heap2.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

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