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/sh7045/sci/sci.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 '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/sci/sci.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/sci/sci.c b/c/src/lib/libcpu/sh/sh7045/sci/sci.c index 7b1d607390..ff8c935c00 100644 --- a/c/src/lib/libcpu/sh/sh7045/sci/sci.c +++ b/c/src/lib/libcpu/sh/sh7045/sci/sci.c @@ -78,7 +78,7 @@ struct scidev_t { char * name ; - unsigned32 addr ; + uint32_t addr ; rtems_device_minor_number minor ; unsigned short opened ; tcflag_t cflags ; @@ -104,8 +104,8 @@ static int _sci_set_cflags( struct scidev_t *sci_dev, tcflag_t c_cflag ) { - unsigned8 smr ; - unsigned8 brr ; + uint8_t smr ; + uint8_t brr ; if ( c_cflag & CBAUD ) { @@ -150,7 +150,7 @@ static int _sci_set_cflags( */ rtems_boolean wrtSCI0(unsigned char ch) { - unsigned8 temp; + uint8_t temp; rtems_boolean result=FALSE; if ((read8(SCI_SSR0) & SCI_TDRE) != 0x00) { @@ -166,7 +166,7 @@ rtems_boolean wrtSCI0(unsigned char ch) rtems_boolean wrtSCI1(unsigned char ch) { - unsigned8 temp; + uint8_t temp; rtems_boolean result=FALSE; if ((read8(SCI_SSR1) & SCI_TDRE) != 0x00) { @@ -203,7 +203,7 @@ void outbyte( rtems_boolean rdSCI0(unsigned char *ch) { - unsigned8 temp; + uint8_t temp; rtems_boolean result=FALSE; if ((read8(SCI_SSR0) & SCI_RDRF) != 0x00) { @@ -227,7 +227,7 @@ rtems_boolean rdSCI0(unsigned char *ch) rtems_boolean rdSCI1(unsigned char *ch) { - unsigned8 temp; + uint8_t temp; rtems_boolean result=FALSE; if ((read8(SCI_SSR1) & SCI_RDRF) != 0x00) { @@ -339,8 +339,8 @@ rtems_device_driver sh_sci_open( rtems_device_minor_number minor, void * arg ) { - unsigned8 temp8; - unsigned16 temp16; + uint8_t temp8; + uint16_t temp16; unsigned a ; |