All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Questions about IRQ
@ 2018-04-17 14:59 Jean-Marc Lenoir
  2018-04-17 16:38 ` Greg Gallagher
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Marc Lenoir @ 2018-04-17 14:59 UTC (permalink / raw)
  To: xenomai

Hello,

I would like to make a program which handle the interrupt requests of a 
PCI board with Xenomai 3. I'm trying to use this Xenomai API: 
https://xenomai.org/documentation/xenomai-3/html/xeno3prm/group__cobalt__core__irq.html 
but there are some points that are not clear at all for me.

1) There is already a Linux driver that handle the IRQ of this board and 
I need to keep this driver running because I use it for the board 
configuration. So, if both a Linux driver and a Xenomai program try to 
handle the same IRQ, what happen? Does Xenomai always have the priority? 
Or do I need to configure something to give the priority to Xenomai?

2) This API works on kernel mode or user mode? (Actually, I'm not sure 
there is a kernel mode, I'm a beginner with Xenomai.)

3) When I'm trying to make a simple program with this API (in user 
mode), I am unable to compile it: there is some missing definitions like 
the structure xnintr. I think I need to change something when I build 
the Xenomai libraries but I don't know what (the current libraries are 
compiled with the options "./configure --with-core=cobalt --enable-smp 
--enable-pshared"). Any idea?

4) If someone know where I can find an example of program using this 
API, it could help me a lot.

Thanks for your help,
Jean-Marc



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

end of thread, other threads:[~2018-04-18 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17 14:59 [Xenomai] Questions about IRQ Jean-Marc Lenoir
2018-04-17 16:38 ` Greg Gallagher
2018-04-18  9:16   ` Jean-Marc Lenoir
2018-04-18 13:48     ` Greg Gallagher

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.