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: Mem maps and mmu for iq80310


Ashwin Kamath wrote:
> 
> > Index: hal/arm/iq80310/current/include/pkgconf/mlt_arm_iq80310_rom.h
> Gee thanks Mark. This solved my problems. Is there a mechanism to change
> the HEAP END without having to touch the ecos sources? The patch that
> you gave changes the heap end to the last location of SDRAM. I might
> want to change this, so that I can allocate large buffers for sharing
> with devices and I have to change the page tables for this. This also
> means that the heap needs to end well short of SDRAM. ecos.db did not
> have this option as far as I could see. Does having such a mechanism
> seem valuable?

You need to change the memory layout from within the configuration tool.
The problem Mark fixed was just that the .h file generated was not in sync
with the real memory layout information. So if you just regenerate the
memory layout that should be fine, and does not involve changing the eCos
sources.

If you then need to change the size of the heap to allow for device
buffers, you can do this in the memory layout tool as well.

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]