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: Thu, 05 Feb 2009 16:54:45 +0100 [thread overview]
Message-ID: <498B0BC5.3060808@domain.hid> (raw)
In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58DC@ukmail.uk.wirelessworld.airvananet.com>
Mike McTernan wrote:
> Hi,
>
> Right - I want the interrupt to be handled in realtime.
>
> Is there a way to configure the interrupt as level sensitive under
> Xenomai? I can't see how to do it, hence the thought of using
> request_irq(), which can do that.
>
rtdm_irq_request() assumes that the platform-dependent code did set the
correct IRQ type/sense already.
> Regards,
>
> Mike
>
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org]
> Sent: 03 February 2009 17:47
> To: Mike McTernan
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] IRQ reservation and config
>
> 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.
next prev parent reply other threads:[~2009-02-05 15:54 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
2009-02-03 17:49 ` Mike McTernan
2009-02-05 15:54 ` Philippe Gerum [this message]
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=498B0BC5.3060808@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.