From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4988830A.7070800@domain.hid> Date: Tue, 03 Feb 2009 18:46:50 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58D5@domain.hid> In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F6B58D5@domain.hid> 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, > > 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.