All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] ISR arguments with Native skin
@ 2006-11-08 13:22 Wolfgang Grandegger
  2006-11-08 13:48 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Grandegger @ 2006-11-08 13:22 UTC (permalink / raw)
  To: xenomai-help

Hallo,

I just realized, that the ISR registered with rt_intr_create() must be 
of type:

   int isr(struct xnintr *irq)

I expected "RT_INTR *" as type of the argument. The documentation is not 
clear about that (what rt_isr_t) is. A hyper-link would be nice.

Thanks.

Wolfgang.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] ISR arguments with Native skin
  2006-11-08 13:22 [Xenomai-help] ISR arguments with Native skin Wolfgang Grandegger
@ 2006-11-08 13:48 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-11-08 13:48 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai-help

Wolfgang Grandegger wrote:
> Hallo,
> 
> I just realized, that the ISR registered with rt_intr_create() must be 
> of type:
> 
>   int isr(struct xnintr *irq)
> 
> I expected "RT_INTR *" as type of the argument. The documentation is not 
> clear about that (what rt_isr_t) is. A hyper-link would be nice.
> 
> Thanks.

You can use the I_DESC macro to get the RT_INTR * from the xnintr_t *

-- 
                                                  Gilles Chanteperdrix


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-08 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 13:22 [Xenomai-help] ISR arguments with Native skin Wolfgang Grandegger
2006-11-08 13:48 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.