From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <455AE6D8.8020008@domain.hid> Date: Wed, 15 Nov 2006 11:07:20 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 Subject: Re: [Xenomai-core] [PATCH] Don't call __ipipe_mach_set_dec in rthal_timer_release directly References: <455AD828.4040801@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 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: Sebastian Smolorz Cc: xenomai@xenomai.org Sebastian Smolorz wrote: > Gilles Chanteperdrix wrote: >>You can avoid this problem by adding LATCH or >>__ipipe_mach_ticks_per_jiffy to the current value of the match register >>in the timer interrupt, as it is done for the SA and PXA architectures. > > > Unfortunately, this solution is not applicable. The timers of PXA and SA are > counting up whereas the S3C24xx timers are counting down to zero. There is no > match register for the next interrupt. In contrast, the timer must be > programmed with the new dec value directly, thus stopping it for the time of > re-programming. Right, you are in the same case as the integrator platform. -- Gilles Chanteperdrix