summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7032/timer
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 02:00:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 02:00:03 +0000
commite96a950bcf9953c0c0474fb21ec2af9c260e3668 (patch)
tree7084fab854fb4d785bff1d539f3ea24154e32b94 /c/src/lib/libcpu/sh/sh7032/timer
parent2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-e96a950bcf9953c0c0474fb21ec2af9c260e3668.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/include/ispsh7032.h, sh7032/sci/sci.c, sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/clock/ckinit.c, sh7045/include/ispsh7045.h, sh7045/sci/sci.c, sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c, sh7750/include/rtems/score/ispsh7750.h, sh7750/include/sh/sh4uart.h, sh7750/sci/sh4uart.c, sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c, sh7750/timer/timer.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7032/timer')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/timer/timer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/timer/timer.c b/c/src/lib/libcpu/sh/sh7032/timer/timer.c
index ea39213540..895bcea5da 100644
--- a/c/src/lib/libcpu/sh/sh7032/timer/timer.c
+++ b/c/src/lib/libcpu/sh/sh7032/timer/timer.c
@@ -64,17 +64,17 @@
rtems_isr timerisr();
-static rtems_unsigned32 Timer_interrupts;
+static uint32_t Timer_interrupts;
rtems_boolean Timer_driver_Find_average_overhead;
-static rtems_unsigned32 Timer_HZ ;
+static uint32_t Timer_HZ ;
void Timer_initialize( void )
{
- rtems_unsigned8 temp8;
- rtems_unsigned16 temp16;
- rtems_unsigned32 level;
+ uint8_t temp8;
+ uint16_t temp16;
+ uint32_t level;
rtems_isr *ignored;
Timer_HZ = rtems_cpu_configuration_get_clicks_per_second() / CLOCK_SCALE ;
@@ -149,8 +149,8 @@ void Timer_initialize( void )
int Read_timer( void )
{
- rtems_unsigned32 cclicks;
- rtems_unsigned32 total ;
+ uint32_t cclicks;
+ uint32_t total ;
/*
* Read the timer and see how many clicks it has been since we started.
*/
@@ -201,7 +201,7 @@ void Set_find_average_overhead(
#pragma interrupt
void timerisr( void )
{
- unsigned8 temp8;
+ uint8_t temp8;
/* reset the flags of the status register */
temp8 = read8( ITU_TSR1) & ITU1_STAT_MASK;