About interrupt delivery issues?
In the old xenomai version, the ipipe_pass_mask flag was used to set the interrupt delivery. Currently I need to trigger an interrupt in the xenomai domain, respond in the xenomai domain, and then pass it to the linux domain and then respond. To verify the interrupt delivery function of ipipe, what should I do? Looking forward to your reply! bless you
Quoted 1 line · 易岳名
In the old xenomai version, the
ipipe_pass_maskflag was used to set the interrupt delivery. Currently I need to trigger an interrupt in the xenomai domain, respond in the xenomai domain, and then pass it to the linux domain and then respond. To verify the interrupt delivery function of ipipe, what should I do? Looking forward to your reply! bless you
root:ipipe_raise_irq(irq) -> head:ipipe_post_irq_root(irq) -> root:verify(irq)
ipipe_post_irq_root() must be called with hard IRQs off, which is the case when called from a head stage IRQ handler.
Signature · 1 line
Philippe.
Must be called hw IRQs off is a hardware register that we need to modify, or xenomai has a special function interface to make it meet the conditions. It was found that many function calls in xenomai limit Must be called hw IRQs off. What is the intention in the middle? looking forward to your reply, bless you
------------------ 原始邮件 ------------------
发件人: "Philippe Gerum"<[email protected]>;
发送时间: 2018年7月17日(星期二) 下午4:54
收件人: "易岳名"<[email protected]>; "xenomai"<[email protected]>; 主题: Re: [Xenomai] About interrupt delivery issues?
Quoted 1 line · 易岳名
In the old xenomai version, the
ipipe_pass_maskflag was used to set the interrupt delivery. Currently I need to trigger an interrupt in the xenomai domain, respond in the xenomai domain, and then pass it to the linux domain and then respond. To verify the interrupt delivery function of ipipe, what should I do? Looking forward to your reply! bless you
root:ipipe_raise_irq(irq) -> head:ipipe_post_irq_root(irq) -> root:verify(irq)
ipipe_post_irq_root() must be called with hard IRQs off, which is the case when called from a head stage IRQ handler.
Signature · 6 lines
Philippe. _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai