From 3906b3eaa1589e60ffd902091e60eaaaacdde1b3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 16 Apr 2004 21:29:43 +0000 Subject: Remove stray white spaces. --- c/src/lib/libcpu/sh/sh7045/include/io_types.h | 6 +++--- c/src/lib/libcpu/sh/sh7045/include/iosh7045.h | 10 +++++----- c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h | 4 ++-- c/src/lib/libcpu/sh/sh7045/include/sci.h | 16 ++++++++-------- c/src/lib/libcpu/sh/sh7045/include/sci_termios.h | 16 ++++++++-------- c/src/lib/libcpu/sh/sh7045/include/sh7_pfc.h | 2 +- 6 files changed, 27 insertions(+), 27 deletions(-) (limited to 'c/src/lib/libcpu/sh/sh7045/include') diff --git a/c/src/lib/libcpu/sh/sh7045/include/io_types.h b/c/src/lib/libcpu/sh/sh7045/include/io_types.h index 25cfcd7473..3a873e0d6b 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/io_types.h +++ b/c/src/lib/libcpu/sh/sh7045/include/io_types.h @@ -30,10 +30,10 @@ * * ************************************************************************/ - + #ifndef _sh_io_types_h #define _sh_io_types_h - + #include #include @@ -46,7 +46,7 @@ typedef struct { portNo line; int speed_ix; dataBits dBits; - int parEn; + int parEn; parity par; int mulPro; stopBits sBits; diff --git a/c/src/lib/libcpu/sh/sh7045/include/iosh7045.h b/c/src/lib/libcpu/sh/sh7045/include/iosh7045.h index 9025b35d4f..76e5c25fe5 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/iosh7045.h +++ b/c/src/lib/libcpu/sh/sh7045/include/iosh7045.h @@ -7,7 +7,7 @@ * Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and * Bernd Becker (becker@faw.uni-ulm.de) * - * Based on "iosh7030.h" distributed with Hitachi's EVB's tutorials, which + * Based on "iosh7030.h" distributed with Hitachi's EVB's tutorials, which * contained no copyright notice. * * COPYRIGHT (c) 1997-1998, FAW Ulm, Germany @@ -15,7 +15,7 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * + * * * COPYRIGHT (c) 1998. * On-Line Applications Research Corporation (OAR). @@ -24,8 +24,8 @@ * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * - * Modified to reflect on-chip registers for sh7045 processor, based on - * "Register.h" distributed with Hitachi's EVB7045F tutorials, and which + * Modified to reflect on-chip registers for sh7045 processor, based on + * "Register.h" distributed with Hitachi's EVB7045F tutorials, and which * contained no copyright notice: * John M. Mills (jmills@tga.com) * TGA Technologies, Inc. @@ -46,7 +46,7 @@ /* * After each line is explained whether the access is char short or long. - * The functions read/writeb, w, l, 8, 16, 32 can be found + * The functions read/writeb, w, l, 8, 16, 32 can be found * in exec/score/cpu/sh/sh_io.h * * 8 bit == char ( readb, writeb, read8, write8) diff --git a/c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h b/c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h index db351ae978..c9bf946419 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h +++ b/c/src/lib/libcpu/sh/sh7045/include/ispsh7045.h @@ -10,7 +10,7 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * + * * * COPYRIGHT (c) 1998. * On-Line Applications Research Corporation (OAR). @@ -24,7 +24,7 @@ * TGA Technologies, Inc. * 100 Pinnacle Way, Suite 140 * Norcross, GA 30071 U.S.A. - * + * * * This modified file may be copied and distributed in accordance * the above-referenced license. It is provided for critique and diff --git a/c/src/lib/libcpu/sh/sh7045/include/sci.h b/c/src/lib/libcpu/sh/sh7045/include/sci.h index 966a4bb85b..989ec696f0 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/sci.h +++ b/c/src/lib/libcpu/sh/sh7045/include/sci.h @@ -9,7 +9,7 @@ * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * + * * * COPYRIGHT (c) 1998. * On-Line Applications Research Corporation (OAR). @@ -32,12 +32,12 @@ extern "C" { /* * Devices are set to 9600 bps, 8 databits, 1 stopbit, no - * parity and asynchronous mode by default. + * parity and asynchronous mode by default. * * NOTE: - * The onboard serial devices of the SH do not support hardware + * The onboard serial devices of the SH do not support hardware * handshake. - */ + */ #define DEVSCI_DRIVER_TABLE_ENTRY \ { sh_sci_initialize, sh_sci_open, sh_sci_close, sh_sci_read, \ @@ -78,11 +78,11 @@ extern rtems_device_driver sh_sci_control( rtems_device_minor_number, void * ); - -extern const rtems_termios_callbacks * sh_sci_get_termios_handlers( - rtems_boolean poll + +extern const rtems_termios_callbacks * sh_sci_get_termios_handlers( + rtems_boolean poll ); - + #ifdef __cplusplus } diff --git a/c/src/lib/libcpu/sh/sh7045/include/sci_termios.h b/c/src/lib/libcpu/sh/sh7045/include/sci_termios.h index a0eaa28cae..6dade64fc5 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/sci_termios.h +++ b/c/src/lib/libcpu/sh/sh7045/include/sci_termios.h @@ -18,7 +18,7 @@ extern "C"{ #endif -int sh_sci_set_attributes( +int sh_sci_set_attributes( int minor, const struct termios *t ); @@ -26,31 +26,31 @@ int sh_sci_set_attributes( void sh_sci_initialize_interrupts(int minor); void sh_sci_init(int minor); - + int sh_sci_write_support_int( - int minor, - const char *buf, + int minor, + const char *buf, int len ); - + int sh_sci_write_support_polled( int minor, const char *buf, int len ); - + void sh_sci_write_polled( int minor, char c ); int sh_sci_inbyte_nonblocking_polled(int minor); - + int sh_sci_first_open( int major, int minor, - void *arg + void *arg ); int sh_sci_last_close( diff --git a/c/src/lib/libcpu/sh/sh7045/include/sh7_pfc.h b/c/src/lib/libcpu/sh/sh7045/include/sh7_pfc.h index de367d52fb..51a5f4de34 100644 --- a/c/src/lib/libcpu/sh/sh7045/include/sh7_pfc.h +++ b/c/src/lib/libcpu/sh/sh7045/include/sh7_pfc.h @@ -191,7 +191,7 @@ #define PB1MD0 0x0004 #define PB0MD1 0x0002 #define PB0MD0 0x0001 - + #define PB7MD PB7MD1|PB7MD0 #define PB6MD PB6MD1|PB6MD0 #define PB5MD PB5MD1|PB5MD0 -- cgit v1.2.3