Current-Users archive

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

acorn32 crashes at boot.



Someone should apply the following patch to the acorn32 port. Without it any acorn32 system will crash either during boot or fairly soon afterwards.

Problem was introduced in rev 1.11 of the file as r5 is now used in the interrupt inner loop which it wasn't before.

Mike
Index: iomd_irq.S
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/iomd/iomd_irq.S,v
retrieving revision 1.11
diff -u -r1.11 iomd_irq.S
--- iomd_irq.S  27 Apr 2008 18:58:44 -0000      1.11
+++ iomd_irq.S  19 Aug 2008 16:58:07 -0000
@@ -233,8 +233,8 @@
         * if X = 0, branch to exit code
         */
        beq     exitirq
-       adr     r5, Lirq_ffs_table
 irqloop:
+       adr     r5, Lirq_ffs_table
        /*
         * at this point:
         *      r5 = address of ffs table
@@ -321,10 +321,6 @@
 
        bl      _C_LABEL(irq_setmasks)
 
-#if __HAVE_FAST_SOFTINTS
-       bl      _C_LABEL(dosoftints)    /* Handle the soft interrupts */
-#endif
-
        /* Kill IRQ's in preparation for exit */
         mrs     r0, cpsr_all
         orr     r0, r0, #(I32_bit)


Home | Main Index | Thread Index | Old Index