Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Philippe Gerum
On Fri, 2006-08-18 at 15:53 +0200, Gilles Chanteperdrix wrote: > Philippe Gerum wrote: > > On Fri, 2006-08-18 at 14:36 +0200, Philippe Gerum wrote: > > > On Fri, 2006-08-18 at 13:16 +0200, Gilles Chanteperdrix wrote: > > > > Philippe Gerum wrote: > > > > > I'd rather keep the number of obscure

Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > On Fri, 2006-08-18 at 14:36 +0200, Philippe Gerum wrote: > > On Fri, 2006-08-18 at 13:16 +0200, Gilles Chanteperdrix wrote: > > > Philippe Gerum wrote: > > > > I'd rather keep the number of obscure conditional macros as low as > > > > possible; we should actually try

Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Philippe Gerum
On Fri, 2006-08-18 at 14:36 +0200, Philippe Gerum wrote: > On Fri, 2006-08-18 at 13:16 +0200, Gilles Chanteperdrix wrote: > > Philippe Gerum wrote: > > > I'd rather keep the number of obscure conditional macros as low as > > > possible; we should actually try to reduce them since we have a growin

Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Philippe Gerum
On Fri, 2006-08-18 at 13:16 +0200, Gilles Chanteperdrix wrote: > Philippe Gerum wrote: > > I'd rather keep the number of obscure conditional macros as low as > > possible; we should actually try to reduce them since we have a growing > > number of real and pseudo-archs to support, and those macr

Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Gilles Chanteperdrix
Philippe Gerum wrote: > I'd rather keep the number of obscure conditional macros as low as > possible; we should actually try to reduce them since we have a growing > number of real and pseudo-archs to support, and those macros tend to > obfuscate the generic code. > > In the same vein, is t

Re: [Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-18 Thread Philippe Gerum
On Thu, 2006-08-17 at 23:15 +0200, Gilles Chanteperdrix wrote: > Hi, > > For review, you will find attached to this mail a patch which allows > Xenomai to run on ARM platforms where the timer interrupt is > shared. Such a platform have to define the constant > IPIPE_HAVE_SHARED_TIMER_IRQ, as well

[Xenomai-core] [rfc, patch] allow timer interrupt to be shared.

2006-08-17 Thread Gilles Chanteperdrix
Hi, For review, you will find attached to this mail a patch which allows Xenomai to run on ARM platforms where the timer interrupt is shared. Such a platform have to define the constant IPIPE_HAVE_SHARED_TIMER_IRQ, as well as two functions or macros: - ipipe_timer_irq_p(), used by xnpod_announce