Hello,

Thanks for spotting that, indeed, the reset vector routine does not set R0 to zero. I will correct that. All other issues are more than welcomed! If you can send them before the weekend we can mention them on the project meeting.

I think we could add a configuration option for eCos to build code without delay slots. Diffs describing your modifications will help a lot if you could be so kind and share them.

Best regards!
Piotr

W dniu 2012-10-10 20:52, R. Diez pisze:
Hi Piotr:

I am trying to get eCos up and running on my OR10 CPU, which does not
have jump delay slots. I'm starting with a Redboot test project that I
was playing with some months ago.

I noticed that routine FUNC_START(start) in vectors.S assumes that R0 is
initialised to zero on start-up, which is not always the case.

Could you add the following instruction before "l.ori r3,r0,SPR_SR_SM"
in that function?

   l.movhi    r0, 0

If you're still maintaining the eCos port I'll post a few other minor
issues I've seen so far.

Thanks,
   rdiez

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to