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: ROMRAM startup in arm arch


Gary D. Thomas wrote:

So any reasons for me not to tweak vectors.S to relocate from ROM to RAM only for ROM startup? And fix the at91 to be consistent with the other platforms?

My only concern is that it would break if the DATA segment does
not follow the TEXT segment directly, as is the current case
for these platforms.  I don't know if such a layout would ever
make sense, but it could come back to haunt us.
In both cases already they copy from the start of ROM to __rom_data_end. So the versions in the various hal_platform_setup.h's must be strict supersets of the stuff in vector.S. So it's fine to trim the one in vectors.S. If any platform needs more fine-grained handling, well, it's the platform HAL that is already dealing with the relocation anyway,.

Jifl
--
eCosCentric http://www.eCosCentric.com/ <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine


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