From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <498B0BC5.3060808@domain.hid> Date: Thu, 05 Feb 2009 16:54:45 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58D5@domain.hid> <4988830A.7070800@domain.hid> <4B3F8896E1733D4787DDB0EA1C7FF91F6B58DC@ukmail.uk.wirelessworld.airvananet.com> In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58DC@ukmail.uk.wirelessworld.airvananet.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] IRQ reservation and config Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike McTernan Cc: xenomai@xenomai.org 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.