Clock not running (was Re: RTEMS4.7 and its tool chain (Re: powerpc mvme5500 clock off by factor of 150))
Peter Dufault
dufault at hda.com
Wed Mar 9 05:08:41 UTC 2005
On Mar 8, 2005, at 9:46 PM, Till Straumann wrote:
>
> Hmm - I smell something: could you try to insert a '&' after the '=' ?
>
> asm volatile ("mfdec %0; add %0, %0, %1; mtdec
> %0":"=&r(decr):"r"(Clock_Decrementer_value));
>
>
It's working. Thanks, you're Hero of the Day. Can you translate into
English, or into C?
Peter
Peter Dufault
HD Associates, Inc.
More information about the users
mailing list