summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7045/timer/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7045/timer/timer.c')
-rw-r--r--c/src/lib/libcpu/sh/sh7045/timer/timer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/timer/timer.c b/c/src/lib/libcpu/sh/sh7045/timer/timer.c
index 861aa5e90f..3a551faf7c 100644
--- a/c/src/lib/libcpu/sh/sh7045/timer/timer.c
+++ b/c/src/lib/libcpu/sh/sh7045/timer/timer.c
@@ -55,17 +55,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_MHZ ;
+static uint32_t Timer_MHZ ;
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_MHZ = rtems_cpu_configuration_get_clicks_per_second() / 1000000 ;
@@ -145,8 +145,8 @@ void Timer_initialize( void )
int Read_timer( void )
{
- rtems_unsigned32 clicks;
- rtems_unsigned32 total ;
+ uint32_t clicks;
+ uint32_t total ;
/*
* Read the timer and see how many clicks it has been since we started.
*/
@@ -197,7 +197,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( MTU_TSR1) & MTU1_STAT_MASK;