From: Philippe Gerum <rpm@xenomai.org>
To: wcall@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_alarm_create
Date: Sat, 25 Apr 2009 00:11:38 +0200 [thread overview]
Message-ID: <1240611098.6990.92.camel@domain.hid> (raw)
In-Reply-To: <003f01c9c524$dc109aa0$9431cfe0$@com>
On Fri, 2009-04-24 at 15:37 -0600, Wayne Call wrote:
> 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?
You should use rt_alarm_create() from user-space. There is no binding
possible between alarms created in kernel space to userland.
>
>
>
> Wayne
>
>
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
prev parent reply other threads:[~2009-04-24 22:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 21:37 [Xenomai-help] rt_alarm_create Wayne Call
2009-04-24 22:11 ` Philippe Gerum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1240611098.6990.92.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=wcall@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.