Re: ipipe_trap_hook() with IRQs off?

2019-10-11 Thread Richard Weinberger via Xenomai
Jan, On Fri, Oct 11, 2019 at 8:50 AM Jan Kiszka wrote: > > if (likely(p->coflags & __IPIPE_TRAP_E)) { > > p->coflags |= __IPIPE_TRAP_R; > > hard_local_irq_restore(flags); > > data.exception = exception; > > data.regs = r

Re: ipipe_trap_hook() with IRQs off?

2019-10-10 Thread Jan Kiszka via Xenomai
On 10.10.19 22:37, Richard Weinberger via Xenomai wrote: I'm pretty sure I miss something obvious,but let's try.. :-) Documentation/ipipe.rst says: The notification is issued by a call to :c:func:`__ipipe_notify_trap` which in turn invokes the :c:func:`ipipe_trap_hook` routine the real-time core