All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_intr_create issues
@ 2008-11-05 13:05 Cédric Schaffter
  2008-11-05 13:28 ` Sebastian Smolorz
  2008-11-05 13:30 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 4+ messages in thread
From: Cédric Schaffter @ 2008-11-05 13:05 UTC (permalink / raw)
  To: xenomai

Hi List!

I'm writing a programm where I need to use interruptions.

To create it, I use the function "rt_intr_create(RT_INTR *intr, const 
char *name, unsigned irq, rt_isr_t isr, rt_iack_t iack, int mode)".

I included this header : #include <native/intr.h>.

When I compile, I get these error messages :

*error 'RT_INTR_HANDLED' undeclared
error too many arguments to function 'rt_intr_create'.*

When I observe the file intr.h, I see there are two rt_intr_create (the 
one with six arguments which I need and an other one with only four).

I tried to specifiy four parameters as requested by the other 
*rt_intr_create* and it works, so I don't think there is a problem with 
my include paths.

Does someone already have these issues or can help me?

In this file there is an other instruction that I don't understand :
"#if (defined(__KERNEL__) || defined(__XENO_SIM__)) && !defined(DOXYGEN_CPP)


Best regards,
Cédric Schaffter


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

end of thread, other threads:[~2008-11-05 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 13:05 [Xenomai-help] rt_intr_create issues Cédric Schaffter
2008-11-05 13:28 ` Sebastian Smolorz
2008-11-05 13:30 ` Gilles Chanteperdrix
2008-11-05 15:14   ` Cédric Schaffter

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.