On 05/11/2011 06:24 PM, Gilles Chanteperdrix wrote: > Try this: > diff --git a/ksrc/arch/arm/hal.c b/ksrc/arch/arm/hal.c > index 2ca0d6c..534f97f 100644 > --- a/ksrc/arch/arm/hal.c > +++ b/ksrc/arch/arm/hal.c > @@ -322,7 +322,7 @@ int rthal_timer_request(void (*handler)(void), int cpu) > > rthal_timer_set_oneshot(1); > > - return 0; > + return 1000000000UL / HZ; > } Seems to be fixed, thanks!
I just compared generic and non-generic rthal_timer_request and already tried "return 1" but did not realized that "1G/Hz" is correct return value. -- Alex _______________________________________________ Adeos-main mailing list Adeos-main@gna.org https://mail.gna.org/listinfo/adeos-main