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]

ARM port: how to handle ROM at address 0 without MMU ?


Hi all,
I'm seen this topic discussed earlier on the list but I never really
found an answer that matched my needs.
The thing is I have a platform that has:
- ROM at address 0
- no MMU

With the normal vectors.S file, I obviously get a data abort when it
tries to write into exception vectors, as these are located in ROM.

The question is: what do you think is the best way of modifying the
vectors.S file in order to handle this?
It seems like I will have to have a vector table in RAM and modify
vectors.S so that exception handlers just jump to addresses set up in
the RAM-vector table. Is that it or is there more to do? I'm worried
that I may have to hack a lot of other files in eCOS... which will
certainly result in a pretty unstable port as I am may not be aware of
the implications of what I'll do.

Thanks for your attention,
Greg.

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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