From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wayne Call" Date: Fri, 24 Apr 2009 15:37:25 -0600 Message-ID: <003f01c9c524$dc109aa0$9431cfe0$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0040_01C9C4F2.91762AA0" Content-Language: en-us Subject: [Xenomai-help] rt_alarm_create Reply-To: wcall@domain.hid List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multipart message in MIME format. ------=_NextPart_000_0040_01C9C4F2.91762AA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit There are two rt_alarm_create functions. One is for the kernel space and the other is for user space. I have a linux driver that has an interrupt service routine. When the driver is loaded using insmod, it executes the rt_alarm_create. When the interrupt is triggered, the interrupt service routine executes the rt_alarm_start function. When the rt_alarm_start function expires, it executes the alarm handler code. All this code is executed in kernel space. What I would like to do is create a user application that executes the alarm handler code rather than the linux driver in kernel space. If the rt_alarm_create is executed in kernel space, is there a way to pass the alarm descriptor to user space? Wayne ------=_NextPart_000_0040_01C9C4F2.91762AA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

There are two rt_alarm_create functions.  One = is for the kernel space and the other is for user space. 

 

I have a linux driver that has an interrupt service = routine.  When the driver is loaded using insmod, it executes the = rt_alarm_create.  When the interrupt is triggered, the interrupt service routine executes = the rt_alarm_start function.  When the rt_alarm_start function expires, = it executes the alarm handler code.  All this code is executed in = kernel space.

 

What I would like to do is create a user = application that executes the alarm handler code rather than the linux driver in kernel = space.  If the rt_alarm_create is executed in kernel space, is there a way to = pass the alarm descriptor to user space?

 

Wayne

 

------=_NextPart_000_0040_01C9C4F2.91762AA0--