leonp at plris.com
Fri Dec 12 22:40:41 UTC 2008
On Friday December 12 2008, Till Straumann wrote:
> Leon Pollak wrote:
> > Hello, all.
> > A simple questions to who knows the answer...:-)
> > All PPC BSPs contain in all interrupt vectors processing the following:
> > before executing the RFI instruction they restore the MSR value back from
> > the saved SRR1 value.
> > Why?
> > The PPC manual states that this is done by the CPU in the RFI
> > instruction.
> > What do I miss?
> > Thanks.
> There are various flavors of that stuff - could you please
> quote the lines and the file you're looking at?
With pleasure. In rtems 4.8.0:
BSP gen5200/vectors.S, lines about 183;
BSP mpc8260ads/vectors.S, lines about 125;
file irq_asm.S lines about 281 & 353;
BSP psim/irq_asm.S, lines about 287 & 338;
BSP mbx8xx/vectors.S, lines about 131;
file irq_asm.S, lines about 320 & 392.
As the code looks like, it seems that it is simple copy/paste from one source.
More information about the users