This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Questions about vectors.S (ARM port)
- From: "llandre" <r&d at wawnet dot biz>
- To: "Jani Monoses" <jani at iv dot ro>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 29 Apr 2002 11:01:26 +0200
- Subject: Re: [ECOS] Questions about vectors.S (ARM port)
- References: <Pine.LNX.4.33L2.0204291045420.2297-100000@cow>
[...]
> > 4) The boot procedure assumes that the PLATFORM_SETUP1 macro performs
> > a remap operation in order to map RAM memory at the address 0.
> > If this operation is not possible (some microcontrollers don't permit to
> > modify
> > the base address of CS0), is it necessary to heavily change the
vectors.S
> > file?
> PLATFORM_SETUP is a macro defined in your platform specific files
> vectors.S just includes it.So you need to have a PLATFORM_SETUP which
> knows about your mappings or lack of them. On those targets without
> mapping PLATFORM_SETUP does not do it.Look at arch/arm/eb40 it's a
> platform without MMu hence that macro does few things.
>
You're right but the code following that macro copies the exception vectors
from ROM to RAM. So, if I can not have RAM at 0, I think I'm obliged to
change vectors.S even if it should be kept unchanged for all ARM-based
micros.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss