diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:16:57 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:16:57 +0000 |
commit | d85c279e7ea918a583805d37f39fa6e214b9c8e2 (patch) | |
tree | b2a57d3d833aed7ae940ab258c9ebfbac0ce0fdf /c/src/lib/libbsp/c4x/c4xsim/clock/clock.c | |
parent | 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-d85c279e7ea918a583805d37f39fa6e214b9c8e2.tar.bz2 |
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* clock/clock.c, include/bsp.h, startup/bspstart.c, timer/timer.c:
Convert to using c99 fixed size types.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/c4x/c4xsim/clock/clock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c b/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c index 377a20f3ac..794f766d0d 100644 --- a/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c +++ b/c/src/lib/libbsp/c4x/c4xsim/clock/clock.c @@ -22,7 +22,7 @@ void Clock_exit( void ); rtems_isr Clock_isr( rtems_vector_number vector ); -rtems_unsigned32 Clock_counter_register_value; +uint32_t Clock_counter_register_value; /* * The interrupt vector number associated with the clock tick device @@ -36,7 +36,7 @@ rtems_unsigned32 Clock_counter_register_value; * number of clock ticks since the driver was initialized. */ -volatile rtems_unsigned32 Clock_driver_ticks; +volatile uint32_t Clock_driver_ticks; /* * These are set by clock driver during its init @@ -128,7 +128,7 @@ void Install_clock( Clock_counter_register_value = (unsigned int) tmp; #if 0 Clock_counter_register_value = - (unsigned32) ((float) BSP_Configuration.microseconds_per_tick / + (uint32_t) ((float) BSP_Configuration.microseconds_per_tick / ((float)_ClockFrequency / 2.0))); #endif c4x_timer_stop( C4X_TIMER_0 ); @@ -202,7 +202,7 @@ rtems_device_driver Clock_control( void *pargp ) { - rtems_unsigned32 isrlevel; + uint32_t isrlevel; rtems_libio_ioctl_args_t *args = pargp; if (args == 0) |