An exception may happen when IPEND[4] is set, i.e, interrupt is globally disabled. The exception handler cannot lower its priority to IRQ5.
Index: mach-common/entry.S =================================================================== --- mach-common/entry.S (revision 6699) +++ mach-common/entry.S (working copy) @@ -356,6 +356,10 @@ ENTRY(_ex_trap_c) p4.h = hi(SAFE_USER_INSTRUCTION); retx = p4; + /* enable irq globally */ + [--sp] = reti; + r6 = [sp++]; + r6 = 0x3f; sti r6; _______________________________________________ Uclinux-dist-devel mailing list Uclinux-dist-devel@blackfin.uclinux.org https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel