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: NEWBIE: Memory Layout on AEB-1 Rev B


k e wrote:
> 
> Hi,
> I'm need all the room in RAM that I can get
> on the AEB-1 Rev B.
> Can someone tell me what the following lines
> in the memory layout files are for?
> 
> file: mlt_arm_aeb_ram.ldi
> ...
>     __reserved_vectors = 0; . = __reserved_vectors + 0x1000;

Used for the vectors. You can't avoid this unless you never intend to have
any interrupts or exceptions ever.

>     __reserved_not_mapped = ALIGN (0x1); . = __reserved_not_mapped + 0x7000;

There's no memory in the memory map here.

>     __reserved_for_rom = ALIGN (0x1); . = __reserved_for_rom + 0x4000;

If you don't intend to use the GDB stubs for debugging, you could remove
this. Also note that exception handlers will still have been set up by the
GDB stub in ROM, and those handlers will use RAM in this area. So if you
get any exceptions it will scribble in this area anyway. So obviously
either don't get any exceptions, or supply new exception handlers in your
app.

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]