diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 02:00:03 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 02:00:03 +0000 |
commit | e96a950bcf9953c0c0474fb21ec2af9c260e3668 (patch) | |
tree | 7084fab854fb4d785bff1d539f3ea24154e32b94 /c/src/lib/libcpu/sh/sh7750/clock/ckinit.c | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-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/sh7750/clock/ckinit.c')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/clock/ckinit.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/c/src/lib/libcpu/sh/sh7750/clock/ckinit.c b/c/src/lib/libcpu/sh/sh7750/clock/ckinit.c index 11837453ba..05bd7214aa 100644 --- a/c/src/lib/libcpu/sh/sh7750/clock/ckinit.c +++ b/c/src/lib/libcpu/sh/sh7750/clock/ckinit.c @@ -44,7 +44,7 @@ * number of clock ticks since the driver was initialized. */ -volatile rtems_unsigned32 Clock_driver_ticks; +volatile uint32_t Clock_driver_ticks; static void Clock_exit( void ); static rtems_isr Clock_isr( rtems_vector_number vector ); @@ -77,7 +77,7 @@ rtems_isr_entry Old_ticker; rtems_isr Clock_isr(rtems_vector_number vector) { - unsigned16 tcr; + uint16_t tcr; /* reset the timer underflow flag */ tcr = read16(SH7750_TCR0); @@ -108,9 +108,9 @@ Install_clock(rtems_isr_entry clock_isr) { int cpudiv = 1; /* CPU frequency divider */ int tidiv = 1; /* Timer input frequency divider */ - unsigned32 timer_divider; /* Calculated Timer Divider value */ - unsigned8 temp8; - unsigned16 temp16; + uint32_t timer_divider; /* Calculated Timer Divider value */ + uint8_t temp8; + uint16_t temp16; /* * Initialize the clock tick device driver variables @@ -236,8 +236,8 @@ Install_clock(rtems_isr_entry clock_isr) void Clock_exit(void) { - unsigned8 temp8 = 0; - unsigned16 temp16 = 0; + uint8_t temp8 = 0; + uint16_t temp16 = 0; /* turn off the timer interrupts */ /* Stop the Timer 0 */ @@ -296,7 +296,7 @@ Clock_control(rtems_device_major_number major, rtems_device_minor_number minor, void *pargp) { - rtems_unsigned32 isrlevel; + uint32_t isrlevel; rtems_libio_ioctl_args_t *args = pargp; if (args != 0) |