Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running.

This commit is contained in:
Eric Norum
2005-07-28 18:57:25 +00:00
parent 31e08a184b
commit de5bc2130b
5 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2005-07-28 Eric Norum <norume@aps.anl.gov>
* mpc6xx/clock/c_clock.c: Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running.
2005-06-17 Joel Sherrill <joel@OARcorp.com>
* mpc5xx/vectors/vectors.h: Add hack to avoid warning.

View File

@@ -81,7 +81,7 @@ int decr;
* The driver has seen another tick.
*/
do {
asm volatile ("mfdec %0; add %0, %0, %1; mtdec %0":"=r"(decr):"r"(Clock_Decrementer_value));
asm volatile ("mfdec %0; add %0, %0, %1; mtdec %0":"=&r"(decr):"r"(Clock_Decrementer_value));
Clock_driver_ticks += 1;