All of lore.kernel.org
 help / color / mirror / Atom feed
From: "M. Koehrer" <mathias_koehrer@arcor.de>
To: claus.gindhart@kontron.com, mathias_koehrer@arcor.de
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Re: Triggering UserCode from KernelModule (IRQ)
Date: Thu, 23 Apr 2009 08:36:38 +0200 (CEST)	[thread overview]
Message-ID: <20485155.1240468598325.JavaMail.ngmail@webmail14.arcor-online.net> (raw)
In-Reply-To: <200904221628.27659.claus.gindhart@kontron.com>

Hi Claus, 

thanks for the feedback.
> simply write an UIO driver for your I/O-HW. You find an excellent howto in
> http://www.osadl.org/UIO.uio0.0.html
> 
> The UIO-driver has 2 benefits for you:
> 1. It provides you with direct access to the mmapped area from user space, 
> freeing you from the necessity to communicate via the /dev interface.
> 2. It can invoke a handler function in user space, if an interrupt occurs.
That is really cool for a new driver, however I have an already existing driver
(that works with Xenomai) and in the first step I do not want to change too much...
The only missing piece here is the "triggering" of my user space task whenever
an interrupt occurred.
Is the .poll approach real time capable or is there another approach better?

Thanks a lot

Regards

Mathias

-- 
Mathias Koehrer
mathias_koehrer@arcor.de


Arcor.de Gaming Area - kostenfrei daddeln bis der Arzt kommt!
Jetzt checken und aus über 80 Spielen wählen!
http://www.arcor.de/footer-gaming/
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2009-04-23  6:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200904221628.27659.claus.gindhart@kontron.com>
2009-04-22 14:14 ` Triggering UserCode from KernelModule (IRQ) M. Koehrer
2009-04-22 14:36   ` Daniel Walker
2009-04-22 19:59   ` Robert Schwebel
2009-04-23  6:36   ` M. Koehrer [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=20485155.1240468598325.JavaMail.ngmail@webmail14.arcor-online.net \
    --to=mathias_koehrer@arcor.de \
    --cc=claus.gindhart@kontron.com \
    --cc=linux-rt-users@vger.kernel.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.