This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: NEWBIE: Memory Layout on AEB-1 Rev B
- To: k e <ndgipper at yahoo dot com>
- Subject: Re: [ECOS] NEWBIE: Memory Layout on AEB-1 Rev B
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 16 May 2001 18:43:22 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <20010516172856.95679.qmail@web14004.mail.yahoo.com>
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