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 22:18:19 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <20010516190816.94369.qmail@web14002.mail.yahoo.com>
k e wrote:
>
> sorry in advance if this starts a new thread.
>
> --- Jonathan Larmour <jlarmour@redhat.com> wrote:
> [snip]
> > > __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.
> [snip]
>
> If I were to try this, is it as easy as removing the line for this
> block of ram from the .h, .mlt, and .ldi files and then re-build ecos?
> I'd assume that the subsequent sections would then map down by 0x4000
> in memory.
I believe so.
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