From ad17f7f546963f46681719e9fbfceeaff6b4a039 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 21 Oct 2004 13:24:40 +0000 Subject: 2004-10-21 Ralf Corsepius * mpc5xx/clock/clock.c, mpc5xx/include/mpc5xx.h mpc5xx/timer/timer.c: Use POSIX fixed size types. --- c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c') diff --git a/c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c b/c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c index 5a1ce5e2a6..5045eae5ca 100644 --- a/c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c +++ b/c/src/lib/libcpu/powerpc/mpc5xx/timer/timer.c @@ -51,15 +51,15 @@ #include #include -static volatile rtems_unsigned32 Timer_starting; +static volatile uint32_t Timer_starting; static rtems_boolean Timer_driver_Find_average_overhead; /* * This is so small that this code will be reproduced where needed. */ -static inline rtems_unsigned32 get_itimer(void) +static inline uint32_t get_itimer(void) { - rtems_unsigned32 ret; + uint32_t ret; asm volatile ("mftb %0" : "=r" ((ret))); /* TBLO */ @@ -89,8 +89,8 @@ void Timer_initialize(void) int Read_timer(void) { - rtems_unsigned32 clicks; - rtems_unsigned32 total; + uint32_t clicks; + uint32_t total; clicks = get_itimer(); -- cgit v1.2.3