Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Nasty bug in ofwreal.S



Hi,

Sorry if this appears twice. I sent it yesterday, but haven't seen it on the list.

See you,
  Jorge Acereda


Index: ofwreal.S
===================================================================
RCS file: /cvsroot/src/sys/arch/powerpc/powerpc/ofwreal.S,v
retrieving revision 1.7
diff -u -u -r1.7 ofwreal.S
--- ofwreal.S   11 Dec 2005 12:18:46 -0000      1.7
+++ ofwreal.S   20 Sep 2006 22:10:59 -0000
@@ -259,7 +259,7 @@

        lwz     %r4,0(%r3)
        mtibatl 0,%r4                   /* restore BATs */
-       lwz     %r4,%r4(%r3)
+       lwz     %r4,4(%r3)
        mtibatu 0,%r4
        lwz     %r4,8(%r3)
        mtibatl 1,%r4




Home | Main Index | Thread Index | Old Index