From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43CF96C3.6020507@domain.hid> Date: Thu, 19 Jan 2006 14:40:19 +0100 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-core] Missing IRQ end function on PowerPC References: <43CE1C28.6060001@domain.hid> <17359.34362.870823.168739@domain.hid> <43CF8ECF.4020805@domain.hid> <17359.37814.257893.95482@domain.hid> In-Reply-To: <17359.37814.257893.95482@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org Gilles Chanteperdrix wrote: > Wolfgang Grandegger wrote: > > Therefore we need a dedicated function to re-enable interrupts in the > > ISR. We could name it *_end_irq, but maybe *_enable_isr_irq is more > > obvious. On non-PPC archs it would translate to *_irq_enable. I > > realized, that *_irq_enable is used in various place/skins and therefore > > I have not yet provided a patch. > > The function xnarch_irq_enable seems to be called in only two functions, > xintr_enable and xnintr_irq_handler when the flag XN_ISR_ENABLE is set. But the user may want to re-enable the interrupt without using XN_ISR_ENABLE as well. > In any case, since I am not sure if this has to be done at the Adeos > level or in Xenomai, we will wait for Philippe to come back and decide. In both, I guess. OK and thanks. Wolfgang.