All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Mike McTernan <mmcternan@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] IRQ reservation and config
Date: Tue, 03 Feb 2009 18:46:50 +0100	[thread overview]
Message-ID: <4988830A.7070800@domain.hid> (raw)
In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58D5@domain.hid>

Mike McTernan wrote:
> Hi,
> 
> I'm porting a simple driver to be under the Xenomai. RTDM  The driver
> simply blocks on read calls until an interrupt arrives, and returns a
> count.  This is on Blackfin uClinux.
> 
> I think I've understood how to make the driver, the only thing I'm
> missing is how to reserve and configure the irq source. 
> 
> Should I be using the standard Linux request_irq() to do this in the
> RTDM prior to calling rtdm_irq_request()?
> 

If you want your interrupt source to be controlled by the Xenomai core, i.e.
with real-time guarantees, then rtdm_irq_request() is what you want. I guess
this is why you need an RTDM driver anyway.

> Regards,
> 
> Mike
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


  reply	other threads:[~2009-02-03 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03 17:40 [Xenomai-help] IRQ reservation and config Mike McTernan
2009-02-03 17:46 ` Philippe Gerum [this message]
2009-02-03 17:49   ` Mike McTernan
2009-02-05 15:54     ` Philippe Gerum
2009-02-05 16:10       ` Mike McTernan
2009-02-05 16:25         ` Philippe Gerum

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=4988830A.7070800@domain.hid \
    --to=rpm@xenomai.org \
    --cc=mmcternan@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.