2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>

* mpc6xx/timer/timer.c: Cosmetics.
This commit is contained in:
Ralf Corsepius
2004-03-31 11:11:53 +00:00
parent ae5901be44
commit e208738ca3
2 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* mpc6xx/timer/timer.c: Cosmetics.
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* mpc505/timer/timer.c, mpc5xx/timer/timer.c,

View File

@@ -32,7 +32,7 @@ int Timer_get_clicks_overhead()
{
uint64_t clicks;
PPC_Set_timebase_register((uint64_t ) 0);
PPC_Set_timebase_register((uint64_t) 0);
clicks = PPC_Get_timebase_register();
assert(clicks <= 0xffffffff);
clicks_overhead = (unsigned) clicks;
@@ -50,7 +50,7 @@ void Timer_initialize()
*/
if (clicks_overhead == 0) clicks_overhead = Timer_get_clicks_overhead();
PPC_Set_timebase_register((uint64_t ) 0);
PPC_Set_timebase_register((uint64_t) 0);
}
@@ -69,7 +69,7 @@ int Read_timer()
assert( total64 <= 0xffffffff ); /* fits into a uint32_t */
total = (uint32_t ) total64;
total = (uint32_t) total64;
if ( Timer_driver_Find_average_overhead == 1 )
return total; /* in "clicks" of the decrementer units */