Hello,with RTnet over Xenomai and Linux 2.4 on PowerPC I realized that Xenomai does not distinguish between a normal IRQ enable and an IRQ unmask at the end of an ISR (to reenable the IRQ). In the latter case the IRQ should be enabled on PowerPC as shown:
if (rthal_irq_descp(irq)->handler->end != NULL) rthal_irq_descp(irq)->handler->end(irq); else rthal_irq_descp(irq)->handler->enable(irq); To handle this case properly, we need to different functions, I think. Wolfgang.