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