diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 21:51:30 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 21:51:30 +0000 |
commit | 0fdc09947386f72e261d0fc474e35e7bfa560dc4 (patch) | |
tree | 3057e0e8a3de5f7ec37e5a58d1d562bb6fccabb5 /c/src/lib/libbsp/sh/gensh1 | |
parent | Remove stray white spaces. (diff) | |
download | rtems-0fdc09947386f72e261d0fc474e35e7bfa560dc4.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh1')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/include/bsp.h | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/include/coverhd.h | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/start/start.S | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/startup/bspclean.c | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/startup/bspstart.c | 24 |
5 files changed, 22 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h index a822da19a5..95c522ac0c 100644 --- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h +++ b/c/src/lib/libbsp/sh/gensh1/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). @@ -106,7 +106,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; @@ -125,7 +125,7 @@ extern void bsp_cleanup( void ); BSP_CONSOLE_DRIVER_TABLE_ENTRY, \ { console_initialize, console_open, console_close, \ console_read, console_write, console_control } - + /* * NOTE: Use the standard Clock driver entry */ diff --git a/c/src/lib/libbsp/sh/gensh1/include/coverhd.h b/c/src/lib/libbsp/sh/gensh1/include/coverhd.h index ad34897008..ab7c3dad53 100644 --- a/c/src/lib/libbsp/sh/gensh1/include/coverhd.h +++ b/c/src/lib/libbsp/sh/gensh1/include/coverhd.h @@ -15,7 +15,7 @@ * all calling overhead including passing of arguments. * * - * These are the figures tmoverhd.exe reported with egcs-980205 -O3 + * These are the figures tmoverhd.exe reported with egcs-980205 -O3 * on a Diesner OktagonSH/Amos-2.1 board with SH7032/20MHz * * These results are assumed to be applicable to most SH7032/20MHz 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. - * + * * * COPYRIGHT (c) 1998. * On-Line Applications Research Corporation (OAR). diff --git a/c/src/lib/libbsp/sh/gensh1/start/start.S b/c/src/lib/libbsp/sh/gensh1/start/start.S index 8d6aba06f0..1225e62010 100644 --- a/c/src/lib/libbsp/sh/gensh1/start/start.S +++ b/c/src/lib/libbsp/sh/gensh1/start/start.S @@ -53,7 +53,7 @@ SYM (start): mov.l vects_k,r0 ! update vbr to point to vectab ldc r0,vbr - ! call the mainline + ! call the mainline mov #0,r4 ! argc mov.l main_k,r0 jsr @r0 @@ -69,7 +69,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/gensh1/startup/bspclean.c b/c/src/lib/libbsp/sh/gensh1/startup/bspclean.c index 4d8fe9bf3e..59f0977919 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/bspclean.c +++ b/c/src/lib/libbsp/sh/gensh1/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/gensh1/startup/bspstart.c b/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c index 52486e2383..feb935c998 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/bspstart.c +++ b/c/src/lib/libbsp/sh/gensh1/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. @@ -46,7 +46,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 ); @@ -62,11 +62,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 @@ -81,13 +81,13 @@ 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 either be done from inside the rom + Depending on the board this can either be done from inside the rom startup code, rtems startup code or here. */ - + /* * Allocate the memory for the RTEMS Work Space. This can come from * a variety of places: hard coded address, malloc'ed from outside @@ -103,10 +103,10 @@ void bsp_start(void) */ BSP_Configuration.work_space_start = (void *) &WorkSpaceStart ; - BSP_Configuration.work_space_size = - (uint32_t) &WorkSpaceEnd - + BSP_Configuration.work_space_size = + (uint32_t) &WorkSpaceEnd - (uint32_t) &WorkSpaceStart ; - + /* * initialize the CPU table for this BSP */ @@ -115,7 +115,7 @@ void bsp_start(void) _CPU_Interrupt_stack_low = &CPU_Interrupt_stack_low ; _CPU_Interrupt_stack_high = &CPU_Interrupt_stack_high ; - Cpu_table.interrupt_stack_size = + Cpu_table.interrupt_stack_size = (uint32_t) (&CPU_Interrupt_stack_high) - (uint32_t) (&CPU_Interrupt_stack_low) ; #endif @@ -123,7 +123,7 @@ void bsp_start(void) Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; - + #if ( CPU_ALLOCATE_INTERRUPT_STACK == TRUE ) Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; #endif |