All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Activation of IRQ handler in the Linux domain
@ 2007-09-03 12:11 ROSSIER Daniel
  2007-09-03 13:05 ` Philippe Gerum
  0 siblings, 1 reply; 6+ messages in thread
From: ROSSIER Daniel @ 2007-09-03 12:11 UTC (permalink / raw)
  To: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

Hello,

 

I'm doing a small RT application using the I2C driver from Linux. 

At a certain time, when the task is activated and data are written to
the I2C bus,

the driver waits for a IRQ that confirmed the data have been sent out.
The write function

actually polls a variable state until a timeout or a state change
occurring on reception of that IRQ (done by the handler).

 

However, since driver functions are called from the Xenomai domain, the
IRQ handler is not processed

at the reception since the hander belongs to the Linux domain. It ends
up with a timeout 

during the write.

 

I implemented a local ISR within the Xenomai application, but the
propagation of IRQ is not performed

while the task is running. Is there a way to tell Adeos to forward the
IRQ to the Linux domain with no delay

so that the Linux handler can be called? or do I need to re-implement
the ISR in the Xenomai application?

 

Thanks for any hints.

 

Daniel

 


[-- Attachment #2: Type: text/html, Size: 3672 bytes --]

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

end of thread, other threads:[~2007-09-04  9:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 12:11 [Xenomai-core] Activation of IRQ handler in the Linux domain ROSSIER Daniel
2007-09-03 13:05 ` Philippe Gerum
2007-09-03 17:58   ` [Xenomai-core] RE : " ROSSIER Daniel
2007-09-03 20:31     ` Philippe Gerum
2007-09-03 21:37     ` Jan Kiszka
2007-09-04  9:23       ` ROSSIER Daniel

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.