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]
Other format: [Raw text]

Re: Questions about vectors.S (ARM port)


[...]
> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]