All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Handling a interrupt from user space on PPC405
@ 2006-12-13 22:15 Niklaus Giger
  2006-12-14  7:05 ` Heikki Lindholm
  2006-12-14  8:08 ` Wolfgang Grandegger
  0 siblings, 2 replies; 7+ messages in thread
From: Niklaus Giger @ 2006-12-13 22:15 UTC (permalink / raw)
  To: xenomai

Hi

I tried to use the FIT (Fixed Interrupt Timer) on my PPC405GPr board, which 
uses 0x1010 as its interrupt vector in a user space (vxworks-skin) 
application.
<..>
  RT_INTR FITnterrupt;
  res = rt_intr_create(&FITnterrupt, 0, 0x1010, I_NOAUTOENA);
<..>
But I got -22 EINVAL as error.
Could somebody please tell me, what is wrong with my example.
I would like to have as little as possible code in the kernel and handling the 
whole interrupt in a RT (vxworks-skin) user space task.

And how do I have to handle the case, where my interrupt handler is only 
interested in one of external interrupts of the PPC405?

A good answer would enable me to publish afterwards a working example code.

Best regards.

-- 
Niklaus Giger


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

end of thread, other threads:[~2006-12-14 12:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 22:15 [Xenomai-help] Handling a interrupt from user space on PPC405 Niklaus Giger
2006-12-14  7:05 ` Heikki Lindholm
2006-12-14  8:23   ` Wolfgang Grandegger
2006-12-14  9:05     ` Heikki Lindholm
2006-12-14  9:39       ` Wolfgang Grandegger
2006-12-14 12:43   ` Niklaus Giger
2006-12-14  8:08 ` Wolfgang Grandegger

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.