Detlef Vollmann wrote:
 > It's not so difficult to work around the problem for a single system.
 > What's difficult is to find a solution in a framework that wasn't
 > built with such a problem in mind.

Actually, all architectures have a delay below which they can not be
reprogrammed fast enough. This delay is simply 0 for all of them.

How about rewriting rthal_timer_program_shot as:

static inline void rthal_timer_program_shot (unsigned long delay)
{
    if(delay < __ipipe_mach_min_delay)
        rthal_trigger_irq(RTHAL_TIMER_IRQ);
    else
        __ipipe_mach_set_dec(delay);
}

And define __ipipe_mach_min_delay to be 8 ticks for the PXA architecture ?

-- 


                                            Gilles Chanteperdrix.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to