[ECOS] vectors.s

Jonathan Larmour jifl@eCosCentric.com
Thu Apr 17 13:53:00 GMT 2003


Rupesh S wrote:
> thanx for the info...
> As u said, the content of _reset_platform is data (the address of
> __reset_platform , which is in vectors.S , and does the hardware inits...).
> May be the dissambler would have interpreted the address as a match of the
> bra instruction. I was reading that fluke code.
> Good leason not to rely on the disassembled code....!!!
> 
> I have yet another doubt regarding the same...
> if the startup is ROM , then the data there is address of
> __reset_platform+0x20000000, why is it done like that...??

 From the comments I guess 0x80000000 is the address the app is linked at 
to run, but in fact is a mapped (and maybe also cached region), but the 
mappings haven't been set up yet, whereas 0xa0000000 will work regardless. 
Maybe :-). I'm sure an SH3 CPU manual should help.... go to the SuperH site.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "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



More information about the Ecos-discuss mailing list