summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp/timer
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:20:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-31 05:20:11 +0000
commit6505d3facca528369ffc4ab0bca54afb5247354e (patch)
treed2f5ef3f57c454170dd9b04ac3b9b322030c433d /c/src/lib/libbsp/no_cpu/no_bsp/timer
parent2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-6505d3facca528369ffc4ab0bca54afb5247354e.tar.bz2
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/ckinit.c, shmsupp/getcfg.c, shmsupp/lock.c, startup/bspstart.c, timer/timer.c, timer/timerisr.c: Convert to using c99 fixed size types.
Diffstat (limited to 'c/src/lib/libbsp/no_cpu/no_bsp/timer')
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c6
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
index 4ab13f4db8..9bef085916 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
@@ -21,7 +21,7 @@
#include <rtems.h>
#include <bsp.h>
-rtems_unsigned32 Timer_interrupts;
+uint32_t Timer_interrupts;
rtems_boolean Timer_driver_Find_average_overhead;
void Timer_initialize( void )
@@ -56,8 +56,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.
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
index 2e1e4fdb05..7cbd49a050 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c
@@ -25,7 +25,7 @@
#include <rtems.h>
-extern rtems_unsigned32 _Timer_interrupts;
+extern uint32_t _Timer_interrupts;
void timerisr( void )
{