summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh2
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 21:51:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 21:51:30 +0000
commit0fdc09947386f72e261d0fc474e35e7bfa560dc4 (patch)
tree3057e0e8a3de5f7ec37e5a58d1d562bb6fccabb5 /c/src/lib/libbsp/sh/gensh2
parentRemove stray white spaces. (diff)
downloadrtems-0fdc09947386f72e261d0fc474e35e7bfa560dc4.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2')
-rw-r--r--c/src/lib/libbsp/sh/gensh2/console/config.c8
-rw-r--r--c/src/lib/libbsp/sh/gensh2/include/bsp.h4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/include/coverhd.h4
-rw-r--r--c/src/lib/libbsp/sh/gensh2/start/start.S8
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspclean.c6
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/bspstart.c18
-rw-r--r--c/src/lib/libbsp/sh/gensh2/startup/hw_init.c6
7 files changed, 27 insertions, 27 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/console/config.c b/c/src/lib/libbsp/sh/gensh2/console/config.c
index e277765650..dfd1a46a80 100644
--- a/c/src/lib/libbsp/sh/gensh2/console/config.c
+++ b/c/src/lib/libbsp/sh/gensh2/console/config.c
@@ -1,4 +1,4 @@
-/*
+/*
* This file contains the TTY driver table. The implementation is
* based on libchip/serial drivers, but it uses internal SHx SCI so
* the implementation of the driver is placed in
@@ -25,7 +25,7 @@
#include <rtems/termiostypes.h>
-/*
+/*
* Function set for interrupt enabled termios console
*/
console_fns sh_sci_fns =
@@ -41,7 +41,7 @@ console_fns sh_sci_fns =
TERMIOS_IRQ_DRIVEN /* deviceOutputUsesInterrupts */
};
-/*
+/*
* Function set for polled termios console
*/
console_fns sh_sci_fns_polled =
@@ -81,7 +81,7 @@ static const struct termios term2 = {
0,
{ 0 }
};
-
+
console_tbl Console_Port_Tbl[] = {
{
diff --git a/c/src/lib/libbsp/sh/gensh2/include/bsp.h b/c/src/lib/libbsp/sh/gensh2/include/bsp.h
index 94240b03e1..a52beb5a85 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/bsp.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).
@@ -123,7 +123,7 @@ extern uint32_t WorkSpaceEnd ;
extern void *CPU_Interrupt_stack_low ;
extern void *CPU_Interrupt_stack_high ;
-
+
/* miscellaneous stuff assumed to exist */
extern rtems_configuration_table BSP_Configuration;
diff --git a/c/src/lib/libbsp/sh/gensh2/include/coverhd.h b/c/src/lib/libbsp/sh/gensh2/include/coverhd.h
index 141fdc12e2..1fb5d04aac 100644
--- a/c/src/lib/libbsp/sh/gensh2/include/coverhd.h
+++ b/c/src/lib/libbsp/sh/gensh2/include/coverhd.h
@@ -15,7 +15,7 @@
* all calling overhead including passing of arguments.
*
*
- * These are the figures tmoverhd.exe reported with gcc-2.95.1 -O4
+ * These are the figures tmoverhd.exe reported with gcc-2.95.1 -O4
* on a Hitachi SH7045F Evaluation Board with SH7045F at 29 MHz
*
* These results are assumed to be applicable to most SH7045/29MHz boards
@@ -27,7 +27,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.
- *
+ *
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
diff --git a/c/src/lib/libbsp/sh/gensh2/start/start.S b/c/src/lib/libbsp/sh/gensh2/start/start.S
index 3dde5912ef..8a78d40b05 100644
--- a/c/src/lib/libbsp/sh/gensh2/start/start.S
+++ b/c/src/lib/libbsp/sh/gensh2/start/start.S
@@ -13,7 +13,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
@@ -75,7 +75,7 @@ SYM (start):
mova vects_k,r0
mov.l @r0, r1 ! Shadow vect tbl addr
stc vbr, r2 ! Original vect tbl addr
- and #0, r0
+ and #0, r0
mov r0, r4 ! 0 in r4 and r0
!trapa #32
@@ -135,7 +135,7 @@ SYM (start):
ldc r0,vbr
#endif /* ! STANDALONE_EVB */
- ! call the mainline
+ ! call the mainline
mov #0,r4 ! argc
mov.l main_k,r0
jsr @r0
@@ -157,7 +157,7 @@ SYM (start):
.align 2
stack_k:
- .long SYM(stack)
+ .long SYM(stack)
edata_k:
.long SYM(edata)
end_k:
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c b/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
index a48d735823..7fb98bdd56 100644
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
+++ b/c/src/lib/libbsp/sh/gensh2/startup/bspclean.c
@@ -17,9 +17,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU General Public License
- * along with this program; If not, write to the Free Software Foundation,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
+ * along with this program; If not, write to the Free Software Foundation,
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
*
* COPYRIGHT (c) 1998.
* On-Line Applications Research Corporation (OAR).
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
index 3bddc4fd8a..0b85e5081a 100644
--- a/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
+++ b/c/src/lib/libbsp/sh/gensh2/startup/bspstart.c
@@ -29,7 +29,7 @@
#include <bsp.h>
#include <rtems/libio.h>
#include <rtems/libcsupport.h>
-
+
/*
* The original table from the application and our copy of it with
* some changes.
@@ -48,7 +48,7 @@ char *rtems_progname;
/*
* Use the shared implementations of the following routines
*/
-
+
void bsp_postdriver_hook(void);
void bsp_libc_init( void *, uint32_t, int );
@@ -64,11 +64,11 @@ void bsp_libc_init( void *, uint32_t, int );
* not yet initialized.
*
*/
-
+
void bsp_pretasking_hook(void)
{
bsp_libc_init(&HeapStart, (char *)&HeapEnd - (char *)&HeapStart, 0);
-
+
#ifdef RTEMS_DEBUG
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
#endif
@@ -83,10 +83,10 @@ void bsp_pretasking_hook(void)
void bsp_start(void)
{
/*
- For real boards you need to setup the hardware
+ For real boards you need to setup the hardware
and need to copy the vector table from rom to ram.
- Depending on the board this can ether be done from inside the rom
+ Depending on the board this can ether be done from inside the rom
startup code, rtems startup code or here.
*/
@@ -110,9 +110,9 @@ void bsp_start(void)
*/
BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ;
- BSP_Configuration.work_space_size =
+ BSP_Configuration.work_space_size =
&WorkSpaceEnd - &WorkSpaceStart ;
-
+
/*
* initialize the CPU table for this BSP
*/
@@ -122,7 +122,7 @@ void bsp_start(void)
_CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ;
/* This isn't used anywhere */
- Cpu_table.interrupt_stack_size =
+ Cpu_table.interrupt_stack_size =
&CPU_Interrupt_stack_high - &CPU_Interrupt_stack_low ;
#endif
diff --git a/c/src/lib/libbsp/sh/gensh2/startup/hw_init.c b/c/src/lib/libbsp/sh/gensh2/startup/hw_init.c
index 4f0b0f0097..c0f1d70ab4 100644
--- a/c/src/lib/libbsp/sh/gensh2/startup/hw_init.c
+++ b/c/src/lib/libbsp/sh/gensh2/startup/hw_init.c
@@ -27,7 +27,7 @@
* TGA Technologies, Inc.
* 100 Pinnacle Way, Suite 140
* Norcross, GA 30071 U.S.A.
- *
+ *
*
* This file may be copied and distributed in accordance
* the above-referenced license. It is provided for critique and
@@ -74,7 +74,7 @@ void early_hw_init (void)
};
/* to be called from 'bspstart.c' */
-void bsp_hw_init (void)
+void bsp_hw_init (void)
{
uint16_t temp16;
@@ -83,7 +83,7 @@ void bsp_hw_init (void)
/* no STANDALONE_EVB: accepts defaults, adds RESET */
/* FIXME: replace 'magic numbers' */
-
+
write16(0x5000, PFC_PACRH); /* Pin function controller - WRHH, WRHL */
write16(0x1550, PFC_PACRL1); /* Pin fun. controller - WRH,WRL,RD,CS1 */
write16(0x0000, PFC_PBCR1); /* Pin function controller - default */