[OpenBIOS] [commit] r1078 - trunk/openbios-devel/arch/ppc/qemu

Segher Boessenkool segher at kernel.crashing.org
Fri Jan 11 18:51:37 CET 2013


> Hmmm well that looks as if it just rounds up to the next 4-byte  
> word, which is like the last patch but without the extra byte  
> handling on the end. Segher - can you confirm this on your hardware?

I'm too lazy to power up some, sorry.  But how about looking at
the code, instead?


code filll
         mr      r4,r20
         lwz     r3,0(r31)
         lwz     r5,4(r31)
         mr.     r3,r3
         lwzu    r20,8(r31)
         addi    r31,r31,4
         ble-    0x2c
         addic.  r3,r3,-4
         stw     r4,0(r5)
         addi    r5,r5,4
         bc+     20,lt,0x18
         blr
end-code


Segher


(That weirdo "bc" at the end is just an unconditional jump, coded
very strangely).



More information about the OpenBIOS mailing list